douzhenyu6533 2015-02-26 05:52
浏览 138
已采纳

为什么在浏览器上添加cookie时需要登录?

I login to website successfully and cookie add in browser for that website but 1 day later, I enter this website so website require me login although I check cookie still available somebody can help me to explain in this case ! P/S:this website use PHP source. in case appear in some other PHP website

  • 写回答

1条回答 默认 最新

  • doujiu3882 2015-02-26 05:57
    关注

    So what it sounds like is happening is that the session cookie (the cookie used to authenticate you) expired. Cookies are often set to expire to log you out of a given application for security reasons (to prevent cases such as someone else using your computer and accessing your banking details because the cookie didn't expire and you didn't explicitly click log out).

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥20 NRF24L01总是不在位
  • ¥15 MddBootstrapInitialize2失败
  • ¥15 LCD Flicker
  • ¥15 Spring MVC项目,访问不到相应的控制器方法
  • ¥15 esp32在micropython环境下使用ssl/tls连接mqtt服务器出现以下报错Connected on 192.168.154.223发生意外错误: 5无法连接到 MQTT 代理,如何解决?
  • ¥15 关于#genesiscsheel#的问题,如何解决?
  • ¥15 Android aidl for hal
  • ¥15 STM32CubeIDE下载程序报错
  • ¥15 微信好友如何转变为会员系统?(相关搜索:小程序)
  • ¥15 c# 直接使用c++ 类库文件