lundi 17 février 2020

Session is empty when link is opened from another tab with Laravel

the title may not be 100% clear but I have an issue to which I cannot find a solution... Let me (try to) explain : I have a Laravel application (v5.5) and when I sign in, everything works fine. I can open a new tab, and my session is found so I do not need to sign in again, which is perfectly normal. Except (!!!) when I click on a link (i.e from an email) from another tab : when I do this, I need to sign in.

It seems that the session data is completely empty and cannot be retrieved through the cookie. But if I open a new tab and try accessing the url by doing a simple copy/paste in the browser, I'm successfully logged in.

Moreover, after asking for my login/password after clicking the link from the other tab, the application does not redirect me to the queried url as it's supposed to, but rather redirect me to the home page.

Has anyone faced this issue? And maybe successfully solved it?

Thanks !



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2uJURFW
via IFTTT

Aucun commentaire:

Enregistrer un commentaire