Home > Backend Development > PHP Tutorial > php新手求救 session 页面跳转,刷新后session值丢失,session_id变换

php新手求救 session 页面跳转,刷新后session值丢失,session_id变换

WBOY
Release: 2016-06-02 11:34:28
Original
1204 people have browsed it

sessionphp

问题如题
我的每个需要用到 session 的页面都有session_start();

只有在 logout.php中写了session_destroy();

我页面跳转采用的方法是ajax and
echo'';

在网上搜索答案 ,大家采用加入session_id(SID); 的方法,好用
但是 , 如果多用户同时登陆会不会有问题?
PHP菜鸟小白 , 望大家包涵 ,并详细解答感激不尽

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