By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,592 Members | 1,931 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,592 IT Pros & Developers. It's quick & easy.

sessionTimeout

P: n/a
Hi,

how can I set the sessionTimeout at runtime ? (so not using the value in web.config)
is the sessionTimeout only used when the sessionMode is 'InProc' ? or as well when mode = 'StateServer' or 'SQLServer' ?

thanks

Chris

************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
you can set the session timeout programatically by

HttpContext.Current.Session.Timeout = 20
The timeout is also applied in StateServer or SQLServer mode.

"Chris C" <cm****@yahoo.com> wrote in message
news:eQ**************@tk2msftngp13.phx.gbl...
Hi,

how can I set the sessionTimeout at runtime ? (so not using the value in web.config)

is the sessionTimeout only used when the sessionMode is 'InProc' ? or as well when mode = 'StateServer' or 'SQLServer' ?
thanks

Chris

************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP &

ASP.NET resources...
Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.