我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

PHP会话ID似乎没有刷新

I'm having a problem with a session ID refreshing. I have a block of code (http://pastebin.com/JZgtaDDA) that destroys a session and then starts a new one. If I call session_id() to retrieve the ID, it retrieves the previous ID instead.

session_regenerate_id();

The cookie is already received, telling the browser to use another (or none) on subsequent requests is to late for this specific request, is you want to start another one straight away.

近期文章

  • 使用php和'if changed'选项创建xml
  • 非树模型在建模过程中进行缺失值插补,在模型应用决策时遇到某些变量缺失,是否过模型?如何处理?
  • 这是一个关于C语言的写文件数据问题
  • 如何实通过现容器内的按钮进行菜单跳转
  • 关于SpringBoot集成WebSocket后使用stomp发送消息对应路径未能成功接收到消息
  • mpu9250读取磁力计数据不变
  • arcmap发布地图服务失败,服务器应答时间过长
  • 检测访客来源(Facebook,雅虎,谷歌)等
  • 如何水平和垂直布局记录
  • PHP函数不返回值
  • 正则表达式,可以区分HTML标记中包含的PHP标记
  • 使用PHP检查文件[重复]
  • 解析错误:Zend_Oauth :: REQUEST_SCHEME_HEADER错误:意外','期待'(''
  • 链接电子邮件显示完整的URL而不仅仅是锚文本
  • Flash和会话
  • php多线程问题[关闭]
  • 为什么在模型中使用变量(MVC)?
  • 远程文件存在问题
  • 向视图添加单个按钮
  • 将值添加到时间戳

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华