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

WBOY
Release: 2016-06-23 14:16:14
Original
762 people have browsed it

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


回复讨论(解决方案)

浏览器禁用cookie

浏览器禁用cookie

快、狠、准

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

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