aspose file tools*
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 Spring in Action this week in the Spring 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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: terminating session without cookies