Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Session variables 1

Status
Not open for further replies.

TheConeHead

Programmer
Aug 14, 2002
2,106
US
Is there an IIS setting for how long sessions last or is this just done programmatically?

[conehead]
 
You need the timeout property.
e.g.

<% Session.Timeout = 40 %>

This would set the time out of the session to 40 minutes. By default it is 20.
 
ok, sorry, just reread your post. yes it can be done in IIS too...

In the web site properties dialog, on the "Home directory" tag, choose "configuration". On the 2nd tab, "App Options" you'll find the session timeout property.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top