Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

terminating session without cookies

 
Ram Mohan
Ranch Hand
Posts: 44
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic