C
Chris Newby
I realize that I can handle "SessionEnd" from global.asax ... but it appears
to me that this gets called without the context of a current web request. So
given the following scenario:
User logs in and session starts
User is inactive longer than the session timeout setting
Some thread, not associated with a request, detects the timeout and raises
Session_End()
The User comes back to the site presenting a timed-out session id
ASP.NET restarts the session (obviously without any data from the previous
session)
My question is, when the user returns with a timed-out session id, is there
a way for me to empirically determine that their session has timed-out? A
property that I am perhaps missing somewhere? I realize I can check their
session contents collection for a peice of data that would otherwise be
there, however this seems somewhat indirect to me and, in my particular
case, potentially not "complete" enough to make the determination.
Any thoughts are welcome,
TIA//
to me that this gets called without the context of a current web request. So
given the following scenario:
User logs in and session starts
User is inactive longer than the session timeout setting
Some thread, not associated with a request, detects the timeout and raises
Session_End()
The User comes back to the site presenting a timed-out session id
ASP.NET restarts the session (obviously without any data from the previous
session)
My question is, when the user returns with a timed-out session id, is there
a way for me to empirically determine that their session has timed-out? A
property that I am perhaps missing somewhere? I realize I can check their
session contents collection for a peice of data that would otherwise be
there, however this seems somewhat indirect to me and, in my particular
case, potentially not "complete" enough to make the determination.
Any thoughts are welcome,
TIA//