Dear Telerik Support,
I have a ASPX page with an timer on it. In every 2 minutes it executes a JavaScript function in which it calls the AjaxRequest to the server to do something.
Also in my application, I have a HttpModule to check if the session is timed out and do some other security issues. If session is timed out, it throws an server SecurityException.
Currently, after the session is timed out, when I open an new instance manually of that page, I can see the error message from UI. But if I first open that page when session is not timed out, let the timer on the page run, there is no way for me to catch the the security exception thrown from HttpModule after the session is timed out. The AjaxManager.OnRequestError client event can not catch the error. Even the Page.Error server event can not catch that error.
Is there any way I can catch the server exception caused by AjaxRequest in thrown from the server like the scenario like mine? Thanks.
Chris
I have a ASPX page with an timer on it. In every 2 minutes it executes a JavaScript function in which it calls the AjaxRequest to the server to do something.
Also in my application, I have a HttpModule to check if the session is timed out and do some other security issues. If session is timed out, it throws an server SecurityException.
Currently, after the session is timed out, when I open an new instance manually of that page, I can see the error message from UI. But if I first open that page when session is not timed out, let the timer on the page run, there is no way for me to catch the the security exception thrown from HttpModule after the session is timed out. The AjaxManager.OnRequestError client event can not catch the error. Even the Page.Error server event can not catch that error.
Is there any way I can catch the server exception caused by AjaxRequest in thrown from the server like the scenario like mine? Thanks.
Chris