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
Post a Comment