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
⇒ Removing Values Saved in the Session in PHP
⇐ Setting session.gc_maxlifetime Properly in PHP
2016-10-24, 3515🔥, 0💬
Popular Posts:
How to Install Docker Desktop on Windows 10? You can follow this tutorial to Install Docker Desktop ...
How to access Request body from "context.Request.Body" object in Azure API Policy? Request body is t...
How To Use an Array as a Queue in PHP? A queue is a simple data structure that manages data elements...
How to use "link" command tool to link objet files? If you have object files previously compiled by ...
How To Get the Minimum or Maximum Value of an Array in PHP? If you want to get the minimum or maximu...