Hi All,
i am facing a little problem about Session variables:
here is the ref. page :
www.redboxindia.in/index.asp
it has one link which shows session timeout value, session ID values and a link to check is session is still active or not.
the code part is :
index.asp :
HTML Code:
<htm>
...
..
<body>
<% Session("Test") = "Ashok" %>
<%=("Session Timeout is :" & Session.timeout) %>
<%=(" and Session ID is :" & Session.SessionID) %>
<a href="SessionCheck.asp" target="_blank">session Check</a>
.
.
.
.</body>
</html>
SessionCheck.asp:
HTML Code:
<% if Session("Test") <> "" then
response.Write("working")
else
Response.Write("terminated")
end if
%>
problem:
within 1 minute my session variable gets expired and my webhosting company says to recheck the code...
can someone help me out to.
is there any programming error.
thanks for your consideration
best regards
ashok sharma