Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt in Listner

 
Shashank vanjare
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 47
Java MyEclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Thanks

Muks
 
Shashank vanjare
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Mukul!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic