F
Filamentβ€’2mo 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
MedoOPβ€’2w ago
Any help ?
Dennis Koch
Dennis Kochβ€’7d ago
I guess it's because on logout the session is invalidated. That's the behaviour of Laravel.
Medo
MedoOPβ€’6d 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
awcodesβ€’6d 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
MedoOPβ€’5d ago
So that means there's no way to have multiple panels logged in within the same browser.
Dennis Koch
Dennis Kochβ€’5d ago
I think you could try subdomains. Cookies are shared per Domain but if you use subdomains that should work.
Medo
MedoOPβ€’5d ago
Thank you i will try πŸ™‚ 🌹
Want results from more Discord servers?
Add your server