F
Filament6mo ago
msaidm

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
msaidm
msaidmOP5mo ago
Any help ?
Dennis Koch
Dennis Koch5mo ago
I guess it's because on logout the session is invalidated. That's the behaviour of Laravel.
msaidm
msaidmOP5mo 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
awcodes5mo 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.
msaidm
msaidmOP5mo ago
So that means there's no way to have multiple panels logged in within the same browser.
Dennis Koch
Dennis Koch5mo ago
I think you could try subdomains. Cookies are shared per Domain but if you use subdomains that should work.
msaidm
msaidmOP5mo ago
Thank you i will try 🙂 🌹

Did you find this page helpful?