M
Mike
I have a site that has a login page which uses a dbase with asp to grant
access. If they are verified as a valid user there is a session variable
that is set that all of my pages look for to see if the user is valid.
The variable that gets set is:
Session("ValidUser") = True
Then on my pages I have this code:
<%
If Session("ValidUser") = False or IsNull(Session("ValidUser")) = True then
Response.Redirect"../login.htm"
End If
%>
If the user is navigating the site everything works fine. But if they leave
the site open and do not use it for about 10 min. and try to use it again it
takes them back to the login page and they have to login before they can use
the site again.
I am guessing that the Session("ValidUser") = True has a default 'timeout'.
So, my question is....Can the Session("ValidUser") = True be set to timeout
in 30 min. not 10 min.?
This is on a company intranet so I am not worried about people leaving it
open.
Mikeal
access. If they are verified as a valid user there is a session variable
that is set that all of my pages look for to see if the user is valid.
The variable that gets set is:
Session("ValidUser") = True
Then on my pages I have this code:
<%
If Session("ValidUser") = False or IsNull(Session("ValidUser")) = True then
Response.Redirect"../login.htm"
End If
%>
If the user is navigating the site everything works fine. But if they leave
the site open and do not use it for about 10 min. and try to use it again it
takes them back to the login page and they have to login before they can use
the site again.
I am guessing that the Session("ValidUser") = True has a default 'timeout'.
So, my question is....Can the Session("ValidUser") = True be set to timeout
in 30 min. not 10 min.?
This is on a company intranet so I am not worried about people leaving it
open.
Mikeal