Is there a way to find out if the browser clears cookies on exit?

Browsers can be configured to delete all cookies when they are closed as a security measure. Is there a way, with jQuery, or perhaps even with some server side programming, to determine if the browser will clear the cookies on exit / close?

+3


source to share


1 answer


IF you set cookies as session cookies (as opposed to persistent cookies), they will be cleared when the user closes their browser.



http://www.allaboutcookies.org/cookies/cookies-the-same.html

0


source







All Articles