RE: HttpSessionListener - sessionDestroyed

2004-01-07 Thread Shapira, Yoav

Howdy,
Isn't it much easier to try this than to email the list? ;)  Tomcat
doesn't care much for the user's browser.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Chakravarthy, Sundar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 11:19 AM
To: Tomcat Users List
Subject: HttpSessionListener - sessionDestroyed


Does Tomcat 4.x call sessionDestroyed if the user closes his browser
window or only on Session invalidate() or timeout ( 30 mts ) ?

Notice  sessionCreated is called but not sessionDestroyed.

Thanks

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




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



RE: HttpSessionListener - sessionDestroyed

2004-01-07 Thread Chakravarthy, Sundar

Hi,

I did try and it didn't work; hence the email ;-)

How does one trap browser close event , javascript ?

Thanks



-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 07, 2004 11:35 AM
To: Tomcat Users List
Subject: RE: HttpSessionListener - sessionDestroyed 


Howdy,
Isn't it much easier to try this than to email the list? ;)  Tomcat
doesn't care much for the user's browser.

Yoav Shapira
Millennium ChemInformatics


-Original Message-
From: Chakravarthy, Sundar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 11:19 AM
To: Tomcat Users List
Subject: HttpSessionListener - sessionDestroyed


Does Tomcat 4.x call sessionDestroyed if the user closes his browser
window or only on Session invalidate() or timeout ( 30 mts ) ?

Notice  sessionCreated is called but not sessionDestroyed.

Thanks

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




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.


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


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



RE: HttpSessionListener - sessionDestroyed

2004-01-07 Thread Shapira, Yoav

Howdy,

I did try and it didn't work; hence the email ;-)

Good, I'm glad you tried.  Session creation and destruction are not
always connected to browser opening and closing.

How does one trap browser close event , javascript ?

Yeah, window onClose.  Be careful going down this path, however, as the
user may have multiple browsers open using the same (or different)
webapps and therefore the same (or different) sessions.

Yoav Shapira




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



Re: HttpSessionListener - sessionDestroyed

2004-01-07 Thread Rod Giffin
Chakravarthy, Sundar said:

 Does Tomcat 4.x call sessionDestroyed if the user closes his browser
 window or only on Session invalidate() or timeout ( 30 mts ) ?

 Notice  sessionCreated is called but not sessionDestroyed.

Tomcat doesn't usually have a way to tell if the user just closes his
browser, unless there's some sort of trigger on the client (eg. a
JavaScript) that runs when the close event occurs.

Rod.



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