How to extend Session?

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
 
L

Lei Guangfu

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top