F
Filament5w ago
Hugo

Import / Export Session expired & logout - Export with random table info.

Hello. I've been having this issue for a while now. When I use the Export Action, in some cases, my session gets expired. I solved this issue by adding in the VerfifyCsrfToken middleware.
protected $except = [
'livewire/*'
];
protected $except = [
'livewire/*'
];
Although the issue of getting my session expired is solved, it now logs me out of the app. The export is still in the notifications and ready to download, but why does it log me out of my own app when pressing an export action? Another issue I've been having with the export action is the fact that the files come with some random data from other tables.
1 Reply
Hugo
Hugo4w ago
I've tested it on a table with 18 records and 4/5 times it logs me out. The loading animation takes a little longer and then it just logs me out. The one time it worked fine. Any updates?