• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to check browser alive

 
Sujit Joshi
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

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 log out link. But I can not check if close the browser.

Can anybody suggest the solution to check this?
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic