Hello,
In our little intranet site, I set a session.timeout of 60, which should be an hour. What seems to be happening is one of two things--either the session is timing out before 60min and autostarting a new session, or the user has somehow gotten another sessionid via normal navigation within the site.
In simplest terms, I have page1.asp, which has a button on it, and via javascript it calls page2.asp, passing session.sessionID as one of the querystring variables, calling it page1session.
In Page2.asp, I compare as follows:
IF request("page1session") <> session.sessionid then
[some code that writes an error log]
End If
That error log occasionally has items in it. The timestamp I write in the logfile shows as less than an hour from the timestamp in the log I had written in the session_onstart of page1.
So...why would either page1 or Page2 have a different session? How can that happen?
Thanks,
--Jim
In our little intranet site, I set a session.timeout of 60, which should be an hour. What seems to be happening is one of two things--either the session is timing out before 60min and autostarting a new session, or the user has somehow gotten another sessionid via normal navigation within the site.
In simplest terms, I have page1.asp, which has a button on it, and via javascript it calls page2.asp, passing session.sessionID as one of the querystring variables, calling it page1session.
In Page2.asp, I compare as follows:
IF request("page1session") <> session.sessionid then
[some code that writes an error log]
End If
That error log occasionally has items in it. The timestamp I write in the logfile shows as less than an hour from the timestamp in the log I had written in the session_onstart of page1.
So...why would either page1 or Page2 have a different session? How can that happen?
Thanks,
--Jim