F
Filament5mo ago
Medo

419 This Page has expired

I am facing a problem with filament multi panel each panel has its own user guard so for example if open both in the same browser and log out from one of the panels I get a page expired on the other and vice versa. Has anyone been fixing this problem before?
No description
7 Replies
Medo
MedoOP3mo ago
Any help ?
Dennis Koch
Dennis Koch3mo ago
I guess it's because on logout the session is invalidated. That's the behaviour of Laravel.
Medo
MedoOP3mo ago
@Dennis Koch Nah that's not the case for example any post request happened on the first panel when I switch the tab to the second one I got this message 419
awcodes
awcodes3mo ago
Dennis is right. Laravel can only have one logged in user at a time. So, by logged out, the user session is destroyed meaning all other panels will have an invalid session in the same browser.
Medo
MedoOP3mo ago
So that means there's no way to have multiple panels logged in within the same browser.
Dennis Koch
Dennis Koch3mo ago
I think you could try subdomains. Cookies are shared per Domain but if you use subdomains that should work.
Medo
MedoOP3mo ago
Thank you i will try 🙂 🌹

Did you find this page helpful?