#47175 [NEW]: ini_set
| From: | webmaster at e-taller dot com dot ar | Date: | Wed, 21 Jan 2009 00:25:27 +0000 |
| Subject: | #47175 [NEW]: ini_set | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-133087@lists.php.net to get a copy of this message | ||
From: webmaster at e-taller dot com dot ar
Operating system: linux
PHP version: 5.2.8
PHP Bug Type: Session related
Bug description: ini_set
Description:
------------
trate de cambiar el tiempo en que caduca la sesion mediante ini_set asi
"ini_set('session.gc_maxlifetime','86400')", esta claro que al
recargar la
pagina session.gc.maxlifetime retorna al valor del php.ini, despues de
setearlo para 1 dia en todas las paginas que tenian session_start() no
logre que tomara el valor que yo he puesto siempre toma el del php.ini.
mi pregunta es porque pasa esto?
se puede realmente mediante ini_set cambiar el valor de
session.gc.maxlifetime?
de ser asi me podrian decir como es.
gracias de ante mano.
Reproduce code:
---------------
ini_set("session.gc_maxlifetime","86400");
Expected result:
----------------
que cambie session.gc.maxlifetime a 1 dia
Actual result:
--------------
session.gc.maxlifetime no toma cambios mediante ini_set
--
Edit bug report at http://bugs.php.net/?id=47175&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47175&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47175&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47175&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=47175&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47175&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=47175&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=47175&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=47175&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=47175&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=47175&r=support
Expected behavior: http://bugs.php.net/fix.php?id=47175&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=47175&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=47175&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=47175&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47175&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=47175&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=47175&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=47175&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=47175&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=47175&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=47175&r=mysqlcfg