aspose file tools*
The moose likes Servlets and the fly likes Is HttpSessionListnere destroy method get called in this case Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Is HttpSessionListnere destroy method get called in this case " Watch "Is HttpSessionListnere destroy method get called in this case " New topic
Author

Is HttpSessionListnere destroy method get called in this case

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234


I am Back

Is HttpSessionListener method sessionDestroyed get called when session.invalidate() is called upon ?


Save India From Corruption - Anna Hazare.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30512
    
150

Yes, your understanding is correct.

[edited to fix typo]


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9302
    
  17

Its good to see that you are back (where were you gone BTW (just kidding))

I've not tried it but I think it will definitely be called...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Thanks Jeanne for the answer.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is HttpSessionListnere destroy method get called in this case