How to extend Session?

  • Thread starter Thread starter Yuriy
  • Start date Start date
Y

Yuriy

Hello !
I have a problem with session variables and i need to do
something with my session
I need every 20 min extend my Session timeout.
Any suggetions appreciated! Thanks
 
Hi,

In web.config file, there is a section <sessionState>
with 'timeout' property which can control it.
<sessionState mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;user
id=sa;password=" cookieless="false" timeout="60" />

hope this helps.

Lei Guangfu
 
Back
Top