jQuery in Action, 2nd edition
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Doubt in Listner Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Doubt in Listner" Watch "Doubt in Listner" New topic

Doubt in Listner

Shashank vanjare

Joined: Apr 10, 2008
Posts: 9
1)What will be the order of Listner Notification when the conatainer is
about to shut down?
2)When the container shuts down is session tracking cookies deleted?
Muks Sam
Ranch Hand

Joined: Apr 09, 2004
Posts: 47

Hi Shashank,

While container shuts down, request listeners, session listeners an finally contextlisteners are expunged. Session tracking cookies are not deleted because they are present on client machine. Cookies generally are sent back and forth from client and received by server (after first request to create). So even if you log off from site or close the browser (virtually away from container) then also in the browsers history, you can find the cookies present.


Shashank vanjare

Joined: Apr 10, 2008
Posts: 9
Thank you Mukul!
I agree. Here's the link: http://aspose.com/file-tools
subject: Doubt in Listner