I use the WebAsynchRefreshPanel extensively in my webapplication. The problem occurs when
a session (or cookie) reaches the timeout. The WebAsynchRefreshPanel puts out an asynch request
to the server but it gets no response and tries this for the about 20 seconds, but the panel will not be
updated and no redirect to loginpage happens. This is an irritating scenario for the user because he gets
no information. Is there a way to handle such an timeout with the WebAsynchRefreshPanel and to be able
to redirect to a loginpage.
Any help would be highly appreciated!
tmesi
Hello tmesi,
Please let me know if you need any additional assistance regarding this matter.
For this you can handle the re-direct functionality within ASP.NET. Actually I will re-direct you to this blog post on msdn that discusses this very topic: http://blogs.msdn.com/b/nikhiln/archive/2007/06/21/detecting-session-timeout-in-asp-net-2-0-web-applications.aspx
So essentially as discussed in this blog you would check the session state and if it is determined to be null, you could re-direct the user to the login page.
Hi tmesi,
I wanted to check back with you to see if you had resolved this problem, or if you are still in need of assistance regarding this matter.