This content has been marked as final.
Show 3 replies
-
1. Re: closing browser window
cash1981 Nov 26, 2009 11:51 PM (in response to ajanz)Maybe you can do this in javascript. You cannot detect closing of browser window in Seam.
-
2. Re: closing browser window
lvdberg Nov 30, 2009 11:27 AM (in response to ajanz)Hi Sascha,
You could this by using javascript which calls a
remote
Seam-method otr you could do some real nicehacking
and create akeep-alive
ajax-push (a4j:push) , which must be answered within a specific time-period.The server needs to have a timer which expires when no
ping
is received from the browser. It's not 100% save, but you will have a really nice indication that your windows was closed.
Leo -