简体   繁体   中英

Notify user to login on clear the browser cache

Hi I am working on a web-application which deals which jQuery,Javascript,Html as a part of UI. we have login authentication which will ask for username and password.
so my question is how to notify the user automatically to login into my application, when user will clear the cache. for example: do login into facebook. after login clear the cache of browser. instantly you will get a notification to login again. please help me out.

Save login information in a cookie. When it's no longer present - redirect user to your login page.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM