|
-
session timeout
Hi, quite new to sessions so sorry if i sound dumb
<script language=vbscript runat=server>
Session("user") = cStr(Request("username"))
</script>
How do i add a longer timeout the 20 min. Can it be changed to 1 hour or something
Thanks
Alan
-
Maybe I'm missing something here, but this line:
Session("user") = cStr(Request("username"))
Should probably be this:
Session("user") = cStr(Request.[QueryString||Form] "username"))
But to answer your question, the Session.Timeout value is changed by adding this:
Session.Timeout = ## where the ##'s are the number of minutes that the session will last.
Cheers!
Rob
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|
Bookmarks