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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

session.timeout =

Status
Not open for further replies.

jamert

Programmer
Dec 9, 2007
80
CA
Hi was wondering if possible to use session.timeout = 60; in global.asax, like:

protected void Session_Start(Object sender, EventArgs e)
{

Session.Timeout = 150;
.........
}

thanks!
 
try it and see.

for testing set your session to 1 minute and confirm the session is reset after 1 minute. you should be able to confirm this by displaying the session id on screen.

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
i'm having issues, thats why i asked, can't try it, has anyone been able to get whats in my first post to work?

 
1. what kind of issues are you having?
2. why can't you try?

I believe you would want to set this value in the Application_Start command. you only need to execute this once, when the application starts.

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
Thanks jmeckley, turns out that the app pool memory had to be increased, thanks for your replies
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top