ID:               47175
 User updated by:  webmaster at e-taller dot com dot ar
-Summary:          ini_set('session.gc_maxlifetime','86400') no responde
                   al cambio de tiempo
 Reported By:      webmaster at e-taller dot com dot ar
 Status:           Bogus
 Bug Type:         Session related
 Operating System: linux
 PHP Version:      5.2.6
 New Comment:

ok, I did not know what the English language 
I changed all the pages you have session_start () 
the value of session.gc.maxlifetime and only takes the php.ini.

thank you for answering


Previous Comments:
------------------------------------------------------------------------

[2009-01-21 01:39:08] scott...@php.net

The primary language for bug reporting is English.

But I think what you are asking is that if you can set the cleanup for
sessions via ini_set, the answer here is yes. Though you'd need to set
it for EVERY script that uses sessions as any script can go through and
clean up the files.

------------------------------------------------------------------------

[2009-01-21 00:43:56] webmaster at e-taller dot com dot ar

no cambia el tiempo de caducidad

------------------------------------------------------------------------

[2009-01-21 00:25:26] webmaster at e-taller dot com dot ar

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 this bug report at http://bugs.php.net/?id=47175&edit=1

Reply via email to