Forums

This topic is locked

Session Variables expire too quickly.

Posted 02 Jul 2002 13:42:38
1
has voted
02 Jul 2002 13:42:38 Russell Marshall posted:
How can I increase the timeout time for session variables. I track users through my site using session variables but if they are inactive for a short peroid of time the session expires.

Thanks
Davrus

Replies

Replied 02 Jul 2002 13:54:55
02 Jul 2002 13:54:55 Owen Eastwick replied:
Try:

Session.Timeout = 30

This will set the timeout to 30 minutes.

More info:
www.w3schools.com/asp/asp_ref_session.asp

Regards

Owen.

Multiple Parameter UD4 / Access 2000 Database Search Tutorial:
www.tdsf.co.uk/tdsfdemo
Replied 02 Jul 2002 19:26:17
02 Jul 2002 19:26:17 aegis kleais replied:
You can also do what I did and be evil (don't tell the server admins about this!)

Make a page that uses the META refresh tag to refresh itself every 5 minutes. Have this lil gem running in another window while the users use your website and they'll never timeout. <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

Reply to this topic