Tools, FAQ, Tutorials:
Setting session.gc_maxlifetime Properly in PHP
How To Set session.gc_maxlifetime Properly in PHP?
✍: FYIcenter.com
As you know that session.gc_maxlifetime is the session value timeout period. You should set this value based on the usage pattern of your visitors. Here are some suggestions:
# Set it to 20 minutes for a normal Web site: session.gc_maxlifetime = 1200 # Set it to 24 hours if visitors comes to the site many time a day: # Example: Yahoo email site expires your session in 24 hours. session.gc_maxlifetime = 86400
⇒ Setting session.gc_divisor Properly in PHP
⇐ Testing the Session Garbage Collection Process in PHP
2016-10-24, ∼2947🔥, 0💬
Popular Posts:
How To Truncate an Array in PHP? If you want to remove a chunk of values from an array, you can use ...
What is the "__init__()" class method? The "__init__()" class method is a special method that will b...
How to detect errors occurred in the json_decode() call? You can use the following two functions to ...
How To Truncate an Array in PHP? If you want to remove a chunk of values from an array, you can use ...
What Happens If One Row Has Missing Columns? What happens if one row has missing columns? Most brows...