Win a copy of Murach's Python Programming this week in the Jython/Python forum!
    Bookmark Topic Watch Topic
  • New Topic

Session using java beans in jsp  RSS feed

 
shriganesh kakade
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Report post to moderator
I want to invalidate the session initiated using bean, when the window is closed.
I have tried the onunload event of the body tag but what i want is not fulfilled.
Need the help.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65828
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
This has been discussed dozens, if not hundreds, of times before. There is no reliable way to know if the window has been closed. Please SearchFirst.

You must rely upon the session timeout.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!