Home  >  Article  >  Backend Development  >  同一浏览器四个不同页面,输出不同的sessioni_id

同一浏览器四个不同页面,输出不同的sessioni_id

WBOY
WBOYOriginal
2016-06-23 14:16:14760browse

同一浏览器四个不同页面,要求输出四个不同session_id. 有办法吗 谢谢


回复讨论(解决方案)

浏览器禁用cookie

浏览器禁用cookie

快、狠、准

四个不同页面?在每个不同的页面session_id("4个id")不就行了么?
session_start();
session_id("id1");
echo session_id();;l

Statement:
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