Why Google Chrome does not delete session cookie when restart after crash?

こ雲淡風輕ζ 提交于 2019-12-25 05:31:31

问题


My web page set a session cookie when the user is connected.

If i kill the chrome process on windows, and then i restart the browser, my session cookie is here ! Why ?

Is there a way to prevent this behaviour ?


回答1:


This is a feature, not a bug. Crashes usually are not intentional, and it would be a huge inconvenience to the user to have to log into everything all over again.

Crashing is not the same as exiting. If you want to restart the browser, quit it the normal way, not by killing it.



来源:https://stackoverflow.com/questions/19683424/why-google-chrome-does-not-delete-session-cookie-when-restart-after-crash

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!