Welcome Guest, Not a member yet? Register   Sign In
Session Files Question
#3

(08-31-2016, 07:43 AM)dave friend Wrote: Do not worry. It will not get full. The "garbage" (old session files) will automatically be removed periodically.
How often this happens depends on the PHP.ini settings session.gc_probability and session.gc_divisor.
Read about these settings here. The default values are usually just fine.

The garbage collector is triggered when the session library is loaded.

What about if I use database instead does it delete old sessions from database in time like files garbage?
There's only one rule - please don't tell anyone to go and read the manual.  Sometimes the manual just SUCKS!
Reply


Messages In This Thread
Session Files Question - by wolfgang1983 - 08-29-2016, 09:37 PM
RE: Session Files Question - by dave friend - 08-31-2016, 07:43 AM
RE: Session Files Question - by wolfgang1983 - 09-16-2016, 05:35 AM
RE: Session Files Question - by Diederik - 09-16-2016, 06:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB