You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I run into a situation that I was able to successfully login, but the redirect after the successfull login somehow killed the session.
I had to avoid the redirect and just go manually to the protected pages - then the sessions worked. I figured out that I had to change the Session config in /Config/core.php and use "use_trans_sid" set to true.
However, can you please provide a little more info about the redirect? Did you modify any code related to the login? Whats you Auth setup? Did you override the _setupAuth() method from the users controller?
In the meantime, I have change a lot of things back and forth and it works without setting session.use_trans_sid to true (which wouln't have been a valid option for an app in production).
Unfortenately, I cannot track the real reason for the problem.
I run into a situation that I was able to successfully login, but the redirect after the successfull login somehow killed the session.
I had to avoid the redirect and just go manually to the protected pages - then the sessions worked. I figured out that I had to change the Session config in /Config/core.php and use "use_trans_sid" set to true.
Did I miss something or is my new session config dangerous?
The text was updated successfully, but these errors were encountered: