wood burning stoves 2.0*
The moose likes Servlets and the fly likes HttpSession object status, when Server shuts down Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "HttpSession object status, when Server shuts down" Watch "HttpSession object status, when Server shuts down" New topic
Author

HttpSession object status, when Server shuts down

Sivaram Ch
Greenhorn

Joined: May 30, 2006
Posts: 3
Ideally, I am expecting that in the case of server crash/shutdown, all the clients sessions will get expired, and which means all session objects should get destroyed.

This behavior I am able to practically see in Weblogic 8.1 server, but in the case of Tomcat 5.0 and WASCE 1.0, the sessions are persisted some where by the servers. When I restart the servers, I am able to continue the session at the client side.

Can someone please clarify, what does the specification has to say in this regard ?
What should be the ideal behavior ?

Thanks in advance.
[ May 31, 2006: Message edited by: Bear Bibeault ]
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

In my signature, there is a link to the servlet specification.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61458
    
  67

"Sivaram ch",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
JavaRanch Sheriff


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Sivaram Ch
Greenhorn

Joined: May 30, 2006
Posts: 3
Ch is my last name, if you can beleive.
Ch stands for Chiranjeevi in India, which basically means forever.

And one more thing, I could not get any clue in specification.
Please send me your answer soon.
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
Sivaram, we also need the last name to not be an abbreviation. "Sivaram Chiranjeevi" would be ideal, from our perspective. Thanks.


"I'm not back." - Bill Harding, Twister
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: HttpSession object status, when Server shuts down