Session.timeout

J

J. Muenchbourg

I have a session object Session("login") whereas I need to extend the
time on this to 1 hour, instead of the default 20 minutes.
After initializing Session("login"), how would I change the timeout
value?

???
Muench
 
E

Evertjan.

J. Muenchbourg wrote on 15 aug 2003 in
microsoft.public.inetserver.asp.general:
I have a session object Session("login") whereas I need to extend the
time on this to 1 hour, instead of the default 20 minutes.
After initializing Session("login"), how would I change the timeout
value?

All session variables last as long as the session exists.

So just do

<%
Session("login")="sure"
Session.Timeout=60
%>

<http://www.w3schools.com/asp/prop_timeout.asp>
 

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,770
Messages
2,569,583
Members
45,074
Latest member
StanleyFra

Latest Threads

Top