You could put an object in the session and in its finalize, it calls a
static method on another object that is the 'logger' in this case,
sending the user's UID.

-----Original Message-----
From: RamNivas [mailto:[EMAIL PROTECTED]] 
Sent: Friday, May 17, 2002 5:35 AM
To: [EMAIL PROTECTED]
Subject: User LogIn/LogOut

Dear All,

I am having Tomcat Running on WinNT4.0.

i want to track the user loggins and logouts  time  for inserrting in
database.Using jsp how can i track the time user closes the browser or
logout .
i tried using JSP distroy method . but i'm having some troubles with
htat
can someone send me a working example of JSP distroy or any good method
of
tackling this problem
regards  Ram




--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002
 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to