php - How Facebook/Gmail's 'logout from other devices' works? -
php - How Facebook/Gmail's 'logout from other devices' works? -
anyone can please tell me how facebook/gmail's 'logout other devices' works?i'm developing website login scheme , want user able login multiple devices , remotely log out other devices.
in login scheme i've developed cookie created when user logs in 'remember me' alternative checked , key stored in database.it possible log out user browser deleting keys respective browser/ip. if user doesn't checks 'remember me' option?i'm stuck here..
i think should go oauth provide secure delegated access website resources. generate authentication token log website different devices. if user selects remember me option, encrypt , store user credentials (including oauth token) in local machine. nullify these credentials if user logs out.
php session browser login device
Comments
Post a Comment