Hi Ajit,
> I want to store the end time of the user. I have
> implemented this with exit button. On the click
> event of button, a logout.asp file is called and
> end time will be stored. But when the user closes
> the window with Alt+F4 or Ctrl+Alt+del it is not
> working. Please give me some suggestion.
Don't rely on the Session_Close event. Rather, if you know what your
timeout is, just set the 'logout' for the session as an explicit time
as a difference between their last 'event' (this click) and now:
dLogout = dateadd("n", session.timeout, now)
Regards,
Shawn K. Hall
http://ReliableAnswers.com/
'// ========================================================
You don't have to get it right the first time.
-- Barbara Sher