Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sessionDestroyed() is not called on invalidate

Status
Not open for further replies.

softjack

Programmer
Dec 4, 2005
44
IN
Hi,
I just created a listener class for session handling.
When a session is created, my
sessionCreated(HttpSessionEvent se) method is called.
similarly when the session is destroyed after timeout sessionDestroyed (HttpSessionEvent se)method is called.

My problem is that when i try to invalidate the session manually by calling session.invalidate(), the sessionDestroyed (HttpSessionEvent se)method is not called.

Can somebody throw some light on it...Am i doing something wrong...please help!

Softjack
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top