Welcome Guest, Not a member yet? Register   Sign In
Session expiration zero
#1

I would like a confirmation regarding session expiries.
The documentation isn't clear or I didn't understand it very well.

In app/Config/Session.php  what would be the results with :
Code:
    public int $expiration = 0;



Quote:The number of seconds you would like the session to last.
If you would like a non-expiring session (until browser is closed) set the value to zero: 0


or

Quote:If expiration is set to 0, the session.gc_maxlifetime setting set by PHP in session management will be used as-is (often the default value of 1440). This needs to be changed in php.ini or via ini_set() as needed.
Reply


Messages In This Thread
Session expiration zero - by b126 - 03-12-2024, 07:31 AM
RE: Session expiration zero - by kenjis - 03-12-2024, 05:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB