How long does it take a session to timeout? Is there any other ways that the session will clear e.g. closing the browser? Matthew Wilde
matthew@ukwebsite.com
The session timeout setting can be defined in two places. You can define it in the code directly, but commonly it is defined in the properties of IIS on the server.
The reasons the session will clear, other than timeout are, if the browser closes, or if you give a session.abandon command. That will force the session object to die. The money's gone, the brain is shot.....but the liquor we still got.
in your page, the session won't time out until the page has fully executed all of the script.
I used to think that you could place that command in the middle of the script and the script following it will act as if the session has timed out. Not the case.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.