A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
How to check browser alive
Joined: Apr 07, 2009
Apr 25, 2009 00:51:02
I want to check my user is still using the application or not, for every X minutes somehow.
I can catch when he logs out if he logout properly by clicking
link. But I can not check if close the browser.
Can anybody suggest the solution to check this?
Joined: Nov 08, 2001
Apr 25, 2009 05:56:25
There is no way to determine if the user closes the browser. You really should be using a session timeout on the server to log the user out.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: How to check browser alive
Problem with Ctrl-N and opening a new window
how to design logout page?
perform a specific task on logout/closing of browser
Persistent session and HttpSession...
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014