Session Timeout

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
 
A

ASP.Confused

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>
 
A

ASP.Confused

Whoops! That last line in the script that says </timeout> should be </html>

I definitely need some sleep :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,074
Latest member
StanleyFra

Latest Threads

Top