Session Timeout

  • Thread starter Thread starter Greg Decos
  • Start date Start date
G

Greg Decos

I am using forms authentication using a FormsAuthenticationTickets set to
expire in 30 minutes
and the ticket is added to the collection of cookies.
I am not sure where the following values are used:

1. timeout in:
<authentication mode="Forms">
<forms ...timeout="30"
2. session timeout defined in IIS
3. timeout in
<sessionState mode="InProc" ... cookieless="false" timeout="20" />

What timeout applies to new session created?

Thanks
Greg
 
Make an ASPX file with the following script in it. It should tell you your
session timeout:

<html><head><title>Session Timeout</title></head>
<body>
Session Timeout = <% Response.Write(Session.Timeout) %><br>
</body>
</timeout>
 
Whoops! That last line in the script that says </timeout> should be </html>

I definitely need some sleep :)
 
Back
Top