开发者

PHP - Inspecting session max lifetime within the code

开发者 https://www.devze.com 2023-01-12 14:07 出处:网络
How do you inspect开发者_运维知识库 the value assigned to session.gc_maxlifetime? Obviousely this does not work:

How do you inspect开发者_运维知识库 the value assigned to session.gc_maxlifetime?

Obviousely this does not work:

echo session.gc_maxlifetime;


The function you are looking for is ini_get...

echo ini_get('session.gc_maxlifetime');
0

精彩评论

暂无评论...
验证码 换一张
取 消