sessionid 是什么时候发作的

WBOY
Release: 2016-06-13 11:17:46
Original
1009 people have browsed it

sessionid 是什么时候产生的?
一个人打开这个页面的时候就产生了? 

还是要等你的后台逻辑里有 session_start 或者 操作_SESSION[XXX]后才产生的?


------解决方案--------------------
session_start 函数被执行时
在 session_start() 之前,你可以用 session_id($sid) 指定你需要的 sessionid
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!