PDA

View Full Version : detect session time out



joecool2005
07-28-2006, 04:27 PM
Hi,

How do you detect the session was timed out? If the session is timed out, I would like to display a message. How?

Thx
Joe

MongolMan
07-29-2006, 06:55 AM
Hi,

How do you detect the session was timed out? If the session is timed out, I would like to display a message. How?

Thx
Joe


sessioncheck.asp
<%
if Session("YourValue") <> CONST_YOUR_SESSION_VALUE then
Response.write "Session Time Out"
Response.End
end if
%>


some.asp
<!--#include file="sessioncheck.asp -->
........
.....