javascript - Automate logout user -


our web app use username,password verify user , use tokens stored in 'localstorage' maintain user login status,this token expire in 8h, safety reasons have log user out if he/she closed our app tab or close browser, if he/she open our web app next time he/she have login again use username , password. 1 have proper method? in advance!

this article give perfect answer.
use php sessions.
how change session timeout in php?


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -