Welcome Guest, Not a member yet? Register   Sign In
CI4 Sheild, cookie expiration change not working
#1

I'm using CI4 with Shield. I want the session to stay active indefinitely. In Config\Session.php I set the "expiration" and "timeToUpdate" properties to 60 * 60 * 24 * 365 (I also tried setting to 0). However, the cookie "ci_session" that gets created has an expiration of the same day still. How do I actually change that?

Action: Set Config\Session->expiration = 60 * 60 * 24 * 365

Expectation: I expected the ci_session cookie to be created with an expiration date of next year.

Result: ci_session cookie is created with same day expiration still.
Reply


Messages In This Thread
CI4 Sheild, cookie expiration change not working - by scarecrow - 08-26-2024, 10:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB