崩溃后重新启动时,为什么Google Chrome浏览器不删除会话Cookie? [英] Why Google Chrome does not delete session cookie when restart after crash?

查看:178
本文介绍了崩溃后重新启动时,为什么Google Chrome浏览器不删除会话Cookie?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网页在用户连接时设置了会话cookie。

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

如果我在Windows上取消了chrome进程,然后重新启动浏览器,则会话cookie在这儿 !为什么?

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 ?

推荐答案

这是功能,不是错误。崩溃通常不是故意的,用户必须重新登录所有内容,这给用户带来了极大的不便。

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.

这篇关于崩溃后重新启动时,为什么Google Chrome浏览器不删除会话Cookie?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆