There is no reliable way to track an 'exit'
You are perhaps best to mark all users as logged off after a period of
inactivity (usually session.timeout) when their sessionid / IP is no longer
detected
(ie now() > (last detected + session.timeout )
"Terry Murray" <tgmurray.RemoveThis@rogers.com> wrote in message
news:O093b.287568$4UE.15647@news01.bloor.is.net.cable.rogers.com...
> I am trying to write an application that will include as one of its
> features the ability to track login times (entrance and exit).
> I think the whole exercise is rather trivial especially so if the user
> actually logs out. What I am not too sure how to go about handling is the
> situation that would occur if rather than logging out he/she decides to
kill
> the browser window or exit the application and visit some other site.
> I was thinking perhaps the best way to handle that situation would be
to
> track the activity of users through Application variables. I have a
feeling
> it would be possible with Session variables, too, but they depend on
cookies
> which are not always enabled. Am I correct in going with this approach and
> how could I implement it if so?
>
> Thanks in advance
> Terry
>
><!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Tracking Logins