Changing Session cookie - samesite v4.6.1 |
Hi all,
Using v4.6.1 - in app/Config/Cookie.php - after changing samesite setting to 'None' PHP Code: public string $samesite = 'None'; Console error is: Quote:Cookie “pm_id” has been rejected because it is in a cross-site context ... Still get cross-site errors. I'm doing this for testing, connecting to the remote CI4 server from localhost on local machine. I've tried using Cookie helper to no avail-: PHP Code: helper('cookie'); Is it possible to force samesite to 'None' for the CI session cookie? Many thanks, Mike
Just to confirm, are you the one setting up the cookie named "pm_id"? From your example, it seems the name is "session_id".
|
Welcome Guest, Not a member yet? Register Sign In |