Home > Backend Development > PHP Tutorial > PHP的Session(占位)

PHP的Session(占位)

WBOY
Release: 2016-06-23 14:33:06
Original
749 people have browsed it

php的session的特点,多种storage;

openid的nonce,保存状态

 

比较。相似之处。

 

PHP实现多服务器session共享之NFS共享
http://imysql.cn/node/202

实际上,使用NFS共享时,NFS挂载的文件夹跟本地文件系统的文件夹没有什么区别,所以php也能直接去删除。
在PHP V5.2.9下测试通过。

修改php.ini配置文件为:
session.gc_probability = 1
session.gc_divisor = 1
session.gc_maxlifetime = 10
可以更快看到测试结果。

 

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