javascript - workaround for session cookies not being removed in chrome -


i need display popup user once per session. thought create session cookie creating cookie no expiration date track if popup has been displayed. these cookies should removed when browser closed. have since learned chrome has "feature" session cookies not removed (chrome doesn't delete session cookies).

i not asking why cookies aren't deleted in chrome. asking if there way force chrome remove cookies or other solution display popup once per session.

you can maybe use sessionstorage store flag? http://www.w3schools.com/html/html5_webstorage.asp

or information required sent server on every request?


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -