I have set the Timeout in my Web.config, but after that amount of time I am still logged in. What else do I need to know about logging out after a certain time period?
In your global asax file, there is a sub called
Session_OnEnd
This fires when your session actually gets the axe. Try putting in code that will delete the record of the user being logged in (whatever your security scheme might be)
if you're using cookies, obviously the client browser may be closed long before the session dies. In this case, you may need to set some of the cookies properties (like lifetime, etc.) to help accomplish your goals.
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.