Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: May 13, 2011
May 14, 2011 23:21:18
I was searching how to capture the window closing event in
script. Is there any way out in java script, if not through any other technology for jsp pages.
I need to update the save the logout details of the user when the window is closed instead of user doing logout.
Joined: Nov 08, 2001
May 15, 2011 06:47:10
but it is fired for page refreshes, navigating to other pages, and closing. No way to tell the difference.
Also what happens when people put computer to sleep, have no internet connection all of the sudden, browser crashes, etc. That event would never fire.
Only way to really do it is with session end on the server.
rocket mass heater
Logout when exit
applet refresh event
Can logout be implemented?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013