NetTalk Central

Author Topic: Logoff user on browser closed  (Read 3607 times)

olu

  • Sr. Member
  • ****
  • Posts: 352
    • View Profile
    • Email
Logoff user on browser closed
« on: October 26, 2015, 01:58:12 PM »
Please do anyone know how i can force a logoff when a user closes their browser without using the logging off button.

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Logoff user on browser closed
« Reply #1 on: October 26, 2015, 04:04:46 PM »
You might need to wait for NT9 as you would need the server to check if the client\browser was still open.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Logoff user on browser closed
« Reply #2 on: October 27, 2015, 04:13:54 AM »
Hi Olu,

When the user closes their browser no indication of this is sent to the server.
So you can't take any action on this.

This is why banks always encourage you to do an explicit logout. If you close the browser without logging out then the session is still logged in until the session expires.

cheers
Bruce