|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to change the timeout valueThe default of timeout value of session is 20 min.
How can I change the value in program? Use the timeout property of your SessionState into web.config :
<configuration> ... <SessionState ... timeout="20" .../> ... </configuration> I think he meant programatically.
Karl Show quoteHide quote "Mitkip" <mit***@gmail.com> wrote in message news:1135259727.724150.76010@f14g2000cwb.googlegroups.com... > Use the timeout property of your SessionState into web.config : > > <configuration> > ... > <SessionState ... timeout="20" .../> > ... > </configuration> > Sure but I don't think changing this type of information
programmatically is the best way ... But it depends what's his goal Agreed.
Karl Show quoteHide quote "Mitkip" <mit***@gmail.com> wrote in message news:1135262540.496524.244350@f14g2000cwb.googlegroups.com... > Sure but I don't think changing this type of information > programmatically is the best way ... > But it depends what's his goal > Thanks,
I want to set different values to different users when the usrs login in. How can I do that? "Mitkip" <mit***@gmail.com> ???????:1135262540.496524.244***@f14g2000cwb.googlegroups.com...Show quoteHide quote > Sure but I don't think changing this type of information > programmatically is the best way ... > But it depends what's his goal > By changing the Session.TimeOut value into your code, see Karl Seguin :
"Session.TimeOut is a read/write property. Karl " Session.TimeOut is a read/write property.
Karl Show quoteHide quote "ad" <fly***@wfes.tcc.edu.tw> wrote in message news:OdmtO1vBGHA.1288@TK2MSFTNGP09.phx.gbl... > The default of timeout value of session is 20 min. > How can I change the value in program? >
Other interesting topics
Net runtime crash
Single Login Problem converting a variable within a append document.forms string Arghh!!!! Button Not Firing. Losing data in a textbox on postback PreRender event question 2.0 height %'s not working When does Application_AuthenticateRequest fires? Tags inside value field of appsettings in web.config Access is denied: 'Interop.ADODB' error - almost ready to jump off the balcony! |
|||||||||||||||||||||||