Tools, FAQ, Tutorials:
Setting session.gc_divisor Properly in PHP
How To Set session.gc_divisor Properly in PHP?
✍: FYIcenter.com
As you know that session.gc_divisor is the frequency of when the session garbage collection process will be executed. You should set this value based on the income request traffic. Here are some suggestions:
# Set it to 10, if traffic is less than 10,000 per day: session.gc_divisor = 10 # Set it to 100, if traffic is between 10,000 and 100,000 per day: session.gc_divisor = 100 # Set it to 1000, if traffic is greater than 100,000 per day: session.gc_divisor = 1000
Â
⇒Understanding and Using Sessions in PHP
⇒⇒PHP Tutorials
2016-10-24, 1726👍, 0💬
Popular Posts:
How to install .NET Framework in Visual Studio Community 2017? I have the Visual Studio Installer in...
What is EPUB 3.0 Metadata "dc:publisher" and "dc:rights" elements? EPUB 3.0 Metadata "dc:publisher" ...
How To Pad an Array with the Same Value Multiple Times in PHP? If you want to add the same value mul...
How to access Request body from "context.Request.Body" object in Azure API Policy? Request body is t...
How To Read Data from Keyboard (Standard Input) in PHP? If you want to read data from the standard i...