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