
19/08/2005, 14:40
|
 | | | Fecha de Ingreso: octubre-2003 Ubicación: Puerto Montt
Mensajes: 3.667
Antigüedad: 21 años, 4 meses Puntos: 11 | |
en otro post contesté esto:
Se debe configurar la duracion de la sesion en php.ini
Se puede configurar para durar hasta que se cierre el navegador, o que dure hasta que el usuario haya estadi inactivo cierta cantidad de tiempo.
php.ini
duracion de la cookie de sesion
; Lifetime in seconds of cookie or, if 0, until browser is restarted.
session.cookie_lifetime = 0
; Define the probability that the 'garbage collection' process is started
; on every session initialization.
; The probability is calculated by using gc_probability/gc_divisor,
; e.g. 1/100 means there is a 1% chance that the GC process starts
; on each request.
session.gc_probability = 1
session.gc_divisor = 100
; After this number of seconds, stored data will be seen as 'garbage' and
; cleaned up by the garbage collection process.
session.gc_maxlifetime = 1440 |