php session失效和串用户的有关问题

WBOY
Release: 2016-06-13 13:30:34
Original
751 people have browsed it

php session失效和串用户的问题
一开始在有的机器上session存储的用户名,跨页面后总是丢失
不知道是不是header转向的问题
后来加上了个session_id(SID);
丢失情况没了,但新问题出来了
过段时间,刷新页面session变成另一个用户的用户名了

估计是session超时失效后,串到别用户那去了?

===============================================
有朋友知道是怎么回事,如何解决吗?

谢谢

------解决方案--------------------
有的机器是什么意思,你有多台机器吗?

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