wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes terminating session without cookies Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "terminating session without cookies" Watch "terminating session without cookies" New topic
Author

terminating session without cookies

Ram Mohan
Ranch Hand

Joined: Jan 19, 2004
Posts: 44
hi all,
is there anyway that i can terminate a session that has been created using Stateful Session Bean without using cookies. What i actually want to do is to terminate the user session when the user directly closes the browser windows.
I've heard that using a Action Listener would help, but i'm not convinced about that answer. Personally, i think the only way to achieve what i want is to set a cookie that expires (expiring the session) when all browser windows (or connections) to the server are closed. Any help on this would be much appreciated.
thanks


If quitters never win, and winners never cheat, who's the idiot that said: Quit while you're ahead?
 
Consider Paul's rocket mass heater.
 
subject: terminating session without cookies
 
Similar Threads
strange problem using jsp and servlet
Disable browser cookies for a web application
Are session attribute not thread safe? p-199 on HFSJ
Clear firefox cookies on closing the window
On reloading the jsp