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
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