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

Cannot reproduce.
I get a cookie like this:
Code:
ci_session=11f0a0pefejn9bcs34ktlajce8dpjh07; expires=Tue, 26 Aug 2025 22:55:19 GMT; Max-Age=31536000; path=/; HttpOnly; SameSite=Lax



PHP Code:
--- a/app/Config/Session.php
+++ b/app/Config/Session.php
@@ -40,+40,@@ class Session extends BaseConfig
      
The number of SECONDS you want the session to last.
      Setting to 0 (zeromeans expire when the browser is closed.
      */
-
    public int $expiration 7200;
+
    public int $expiration 60 60 24 365;

    /**
      * -------------------------------------------------------------------------- 
Reply


Messages In This Thread
RE: CI4 Sheild, cookie expiration change not working - by kenjis - 08-26-2024, 03:58 PM



Theme © iAndrew 2016 - Forum software by © MyBB