RE: session invalidate

2004-03-15 Thread Shapira, Yoav

Hi,

Will calling session.invalidate() wait until the session is actually
invalidated until code is further processed?

Session.invalidate is a blocking call, yes, if that's what you mean.  It
should be very very fast, unless you've stuck a ton of stuff in the
session and/or have a complex/time-consuming session attribute/binding
listener setup.

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: session invalidate

2004-03-15 Thread Luc Foisy
Wow, thanks for the quick response :)

Exactly what I meant, thank you muchly.

Luc

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Monday, March 15, 2004 9:53 AM
To: Tomcat Users List
Subject: RE: session invalidate



Hi,

Will calling session.invalidate() wait until the session is actually
invalidated until code is further processed?

Session.invalidate is a blocking call, yes, if that's what you mean.  It
should be very very fast, unless you've stuck a ton of stuff in the
session and/or have a complex/time-consuming session attribute/binding
listener setup.

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]


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



Re: Session invalidate question

2003-12-05 Thread Bill Barker
In Tomcat 4, sessionDestroyed is called after the session has been
invalidated.  In Tomcat 5, it is called before the session has been
invalidated.  This is becuase the Servlet-Spec changed the requirement
between 2.3 and 2.4.

Atreya Basu [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Quick question;

 When using a SessionListener does sessionDestroyed get called AFTER a
 session has been invalidated?

 Thanks

 -- 
 _
 Atreya Basu
 Developer,
 Greenfield Research Inc.
 e-mail: atreya (at) greenfieldresearch (dot) ca




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



Re: Session Invalidate Listener???

2002-10-04 Thread Tim Funk

See Section 10.2 of the Servlet Spec(2.3) about listeners.

Especially: javax.servlet.http.HttpSessionListener

Frank Diakovasilis wrote:
 Does anybody know of a way of being notified before tomcat invalidates a
 session, i.e. fire off an event (InvalidateSessionEvent) prior to getting
 invalidated?
 


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