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

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -