There is a session cookie with expiration time which says 'At end of session'. When exactly does it expire or will it be alive forever?

会话cookie的过期时间为“会话结束时”。什么时候它到期还是永远活着?

4 个解决方案

#1


24

When you use setcookie, you can either set the expiration time to 0 or simply omit the parametre - the cookie will then expire at the end of session (ie, when you close the browser).

当您使用setcookie时,您可以将到期时间设置为0或者只是省略参数 - 然后cookie将在会话结束时(即,当您关闭浏览器时)到期。

更多相关文章

  1. MYSQL5.5和5.6参数的差异
  2. mysql主从同步报slave_sql_running:no的解决方案
  3. win7下Django的MySql安装,问题解决方案
  4. mysql 事物没提交导致事物一直运行解决方案
  5. 无法连接远程MySQL数据库的解决方案
  6. [征集] MySQL交叉表解决方案及散分
  7. PHP MYSQL 出现中文乱码的解决方案
  8. Amoeba for MySQL---分布式数据库Proxy解决方案
  9. 存储过程,参数数量不正确bug?

随机推荐

  1. android View 概述
  2. android的selector背景选择器
  3. Android 关机解析
  4. Android规范详解
  5. Android textview 只显示一行,多余部分显
  6. Android 文件格式
  7. Android(安卓)之 下拉框(Spinner)的使用
  8. 使用 Fiddler 对android模器进行Http监控
  9. Android Studio3.0新特性及安装图文教程
  10. afinal