File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

terminating session without cookies

 
Ram Mohan
Ranch Hand
Posts: 44
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic