
July 11th, 2000, 01:33 PM
|
|
Apprentice Deity
|
|
Join Date: Jul 1999
Location: Niagara Falls (On the wrong side of the gorge)
Posts: 3,237

Time spent in forums: 4 m 8 sec
Reputation Power: 17
|
|
|
No, it doesn't have anything to do with the cookie lifetime. The two relevent lines are:
session.gc_probability = 1
session.gc_maxlifetime = 1440
The maxlifetime is 1440 seconds, but with a probability of only 1 (1%) that means there is only a 1% chance that old sessions will be cleaned up whenever a session_start() is called. Meaning that the overhead of cleanup is limited instead of being done constantly. If you have a low volume website you could increase the probability that cleanup will occur.
|