|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-08-01 07:29 UTC] tony2001@php.net
[2006-08-01 07:49 UTC] winterain at gmail dot com
[2006-08-01 08:33 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 19:00:02 2025 UTC |
Description: ------------ I have tried setting the session.cache_expire time to 5 mins with the use of session_cache_expire(5) function... it does not work... the session will still expire after 180mins which is the default value for session.cache_expire. Reproduce code: --------------- session_cache_limiter('private'); session_cache_expire(5); session_start(); phpinfo(); echo session_cache_expire(); Expected result: ---------------- after running the code, i'm expecting that phpinfo()'s session.cache_expire's local value will be 5. And phpinfo()'s session.cache_expire's local value should match the value returned by session_cache_expire(). Actual result: -------------- phpinfo's session.cache_expire's local value is 180 and the value of session_cache_expire() is 5