Unusual session_end behavior...

G

Guest

I'm presented with a strange behavior I can't figure out. I'm currently
logging user activity into a sql server table. I’ve put this logic in my
session_end to call a database and insert a row to the table. It works
great. It shows the user name, time stamp, and etc. However, every time
this happens, exactly two minutes later (time stamp show, exactly 2 minutes,
counting even seconds), it log again. So my table shows the same entry but
on is two minutes late (or early). I thought it was maybe because I have the
browser open so when the first log entry is inserted, I close the browser,
and the same thing happens. I even tried to redirect to a plain html page
when the session ends, the same thing happens. Is there some IIS server
configuration that need to happen or something? I’m currently running this
locally from my desktop using IIS. Has anyone seen these kinds of behavior?
Thanks

Henry
 

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

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,562
Members
45,038
Latest member
OrderProperKetocapsules

Latest Threads

Top