Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- When do session files get erased?
July 7, 2006, 5:45 pm
rate this thread
Re: When do session files get erased?
Not every time, just randomly.
The behaviour is defined by these directives:
"session.gc_divisor coupled with session.gc_probability defines the
probability that the gc (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_divisor defaults to 100."
-+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
++ Mi sitio sobre programación web: http://bits.demogracia.com
+- Mi web de humor con rayos UVA: http://www.demogracia.com