Hi all,
I just want to know if there any asp code can make auto redirect from one page to another page when the session timeout end ?
Any solution for this problem ?
I need a solution ASAP, so help me please.
Hi all,
I just want to know if there any asp code can make auto redirect from one page to another page when the session timeout end ?
Any solution for this problem ?
I need a solution ASAP, so help me please.
I'm not certain if this is what you're looking for...
You've defined your session (example: "loggedin" = "true")
<%
if session("loggedin") = "" then response.redirect("expired.asp")
blah blah
%>
and then your expired.asp file ...
<%
response.write "session has expired. please log back in"
%>
you can insert javascript which will have a timer and make ajax call to server based on timer.. and chaeck if session still exist...
GK
__________________________________________________ _____
if you found this post is useful click scale(right side on this reply ) and agree
Thanks a lot
It agree, a useful idea
Become Part of This Conversation
Join NowFor Free!