Re: Questions About Session Timeout
- From: Steve <lnuxguy_NOMAIL_PLEASE_@xxxxxxxxx>
- Date: Thu, 30 Aug 2007 09:33:11 -0400
1. I'd set them both to 30 minutes. The IIS config will handle the session state, and the forms auth will handle the authentication cookie.
2. This is what the auth cookie lifetime is for, which you set in the forms auth section of the web.config. Once this lifetime expires, the cookie is deleted (effectively logging you out).
Steve C.
MCSD,MCAD,MCSE,MCP+I,CNE,CNA,CCNA
Joey wrote:
I have an asp.net 2.0 app written in C# and VS2005. I sometimes have.
issues where users leave a page onscreen and then come back to it a
few hours later and try to continue working. Of course, it doesn't
work then. Currently they will encounter some sort of error message
because the session has timed out.
I need to develop a way to handle this!
Some questions:
1) If I want to set my session to timeout at 30 minutes, what should i
set for session timeout both in IIS config and in the web.config file,
for forms authentication.
2) When I am using my online banking website, my webpage automatically
logs me out after a set amount of time. How do I do that with my code?
Thanks in advance for your help!
- References:
- Questions About Session Timeout
- From: Joey
- Questions About Session Timeout
- Prev by Date: Re: Questions About Session Timeout
- Next by Date: Need to stream and zip a .CSV file to the clients browser!
- Previous by thread: Re: Questions About Session Timeout
- Next by thread: Need to stream and zip a .CSV file to the clients browser!
- Index(es):
Relevant Pages
|