This discussion is archived
4 Replies Latest reply: Aug 8, 2012 12:56 AM by MartinK RSS

How to realize when the browser's close button for a tab was pressed ?

MartinK Newbie
Currently Being Moderated
Hello,

sorry, if I once again ask the question:

How can I realize that the user has pressed the browser's close button for a tab e.g. in Safari (but also in IE and Firefox)

The problem I have is that after having finished working with my ADF application he closes the tab. He is doing other things.
Sometimes he comes back and tries to open the application once again. The result is that the user gets an empty screen. He has to close the complete browser and to restart. After that all works fine.

If I would realize that the user has pressed the close button for the tab he was working with the application I could invalidate the session an I think all would be fine.

I tried it also with a bounded task flow but the result was the same.

Thanks a lot for any help.

Best regards
Martin

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points