Session_end Global.asax

G

Guest

Hi Guys,

I maintain login info for users in table such as who, when and sessionId.
When they click log off, i note the time in table.

Some of these users just close the window therefore i end up with Nulls in
the Log off field. How can i log the time when the session expires using the
session_end event?

Thanks

Manny
 
B

Brock Allen

This is hard to do given the disconnected nature of HTTP. Another approach
is to log every visit, and assume they're logged off at some time after their
last visit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,019
Latest member
RoxannaSta

Latest Threads

Top