Base solution for your next web application
Open Closed

Log Out User when the browser closes #5110


User avatar
0
maharatha created

Hi -

We would like to log out the users when the browser closes, so that when they come next time they have to re-login. In way I want to force the user to relogin everytime.


2 Answer(s)
  • User Avatar
    0
    blewis created

    I want to second this question and piggy back on it. When will proper, configurable session timeouts be added? It's been on the roadmap page of a long time and seems like a pretty important function. I don't really care much about a lock screen...but timeouts are important.

    Bryan

  • User Avatar
    0
    ismcagdas created
    Support Team

    @maharatha,

    If you correctly handle browser close event using javascript, then just remove token from cookie and user will be logged out.

    @blewis, thanks for your suggestion. We will consider your request with the team for the v5.6 milestone. v5.5 will be an enhancement realese and I think it will not take long time to be released.