Session Timeout
-
I am encountering a session timeout problem with my ISP. I need to get a few facts clarified. Is it possible to keep a Session alive by using a child pop-under window with a refresh rate say every 5 secs to stop the session timing out. I believe Sessions are being dropped because of server memory resources and and to confirm this I am trying to stop the Session timing out by using the technique above. If the session then is dropped it has to be a resource issue. Thanks Lee
-
I am encountering a session timeout problem with my ISP. I need to get a few facts clarified. Is it possible to keep a Session alive by using a child pop-under window with a refresh rate say every 5 secs to stop the session timing out. I believe Sessions are being dropped because of server memory resources and and to confirm this I am trying to stop the Session timing out by using the technique above. If the session then is dropped it has to be a resource issue. Thanks Lee
You can set the Session Time out values in your web.config files. This is not the problem due to server resources. No need for popup window technique.
-
I am encountering a session timeout problem with my ISP. I need to get a few facts clarified. Is it possible to keep a Session alive by using a child pop-under window with a refresh rate say every 5 secs to stop the session timing out. I believe Sessions are being dropped because of server memory resources and and to confirm this I am trying to stop the Session timing out by using the technique above. If the session then is dropped it has to be a resource issue. Thanks Lee
In the Global.asax file there 's a function
protected void Session_End(Object sender, EventArgs e){}
Your app will come here when the session ends, so maybe you can do something here? (Note: In this function the Session[""] objects are still valid.) good luck. No hurries, no worries. -
You can set the Session Time out values in your web.config files. This is not the problem due to server resources. No need for popup window technique.
Syed Abdul Khader wrote: This is not the problem due to server resources. Well in the following scenario sessions can be dropped due to server resources: - the server is IIS 6 (windows 2003) - his application runs in an application pool where a maximum memory usage is defined - his app has a memory leak In this situation, his app is using more and more memory, untill it hits the maximum defined in IIS. The app will then restart, and all sessions will be lost. Gidon