Doubt abt Session time out expired
-
Hi I am using ASP.NET with VB as code behind. In my application i hve set the session time out to 70m. So after 70 m if my application is idle the session get expired. I dont want to give any limit to this time out. ie, i want my application to be alive, if more than 70m it was kept idle, Is there any method for not specifying any timeout limit . Wht will happen if we dont give that time out stmt in web.config. pls help me this is very urgent Thanks in advance With Regards anitha
-
Hi I am using ASP.NET with VB as code behind. In my application i hve set the session time out to 70m. So after 70 m if my application is idle the session get expired. I dont want to give any limit to this time out. ie, i want my application to be alive, if more than 70m it was kept idle, Is there any method for not specifying any timeout limit . Wht will happen if we dont give that time out stmt in web.config. pls help me this is very urgent Thanks in advance With Regards anitha
Why do so many write "doubt" when they mean "question"?
micydon wrote:
In my application i hve set the session time out to 70m.
70 meters? ;)
micydon wrote:
Is there any method for not specifying any timeout limit .
No. If you would not have a timeout on sessions, it would mean that a Session object would be created for each visitor, and the objects would remain in memory forever. After a while the memory would fill up with Session objects, and the server would die.
micydon wrote:
Wht will happen if we dont give that time out stmt in web.config.
You will get the default timeout specified in the settings for the web site. This is 20 minutes by default.
--- single minded; short sighted; long gone;