#38278 [Opn->Fbk]: session_cache_expire()'s value does not match phpinfo's session.cache_expire
| From: | tony2001@php.net | Date: | Tue, 01 Aug 2006 07:29:36 +0000 |
| Subject: | #38278 [Opn->Fbk]: session_cache_expire()'s value does not match phpinfo's session.cache_expire | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-100166@lists.php.net to get a copy of this message | ||
ID: 38278
Updated by: tony2001@php.net
Reported By: winterain at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Session related
Operating System: Windows
PHP Version: 4.4.2
New Comment:
Are you sure you changed correct php.ini and restarted the web server
after that?
Previous Comments:
------------------------------------------------------------------------
[2006-08-01 03:25:44] winterain at gmail dot com
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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38278&edit=1