From: winterain at gmail dot com
Operating system: Windows
PHP version: 4.4.2
PHP Bug Type: Session related
Bug description: session_cache_expire()'s value does not match phpinfo's
session.cache_expire
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 bug report at http://bugs.php.net/?id=38278&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=38278&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=38278&r=trysnapshot52
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=38278&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38278&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=38278&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38278&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38278&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38278&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38278&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38278&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=38278&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=38278&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38278&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38278&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38278&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38278&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38278&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38278&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38278&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38278&r=mysqlcfg