Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

vlado's avatar
Level 5

Initial install of spark kills session after logging in via Chrome

I am having issue with fresh install of Spark. If working from Chrome, as soon as I login (as a user or an amin), go to settings and refresh the page it says: "Session Expired Your session has expired. Please login again to continue." I cleared all my cached files/cookies in browser but it still didn't help. Interestingly enough, it works just fine in Firefox. Also, last_read_announcements_at update (Announcements read) does not work (again in chrome) and returns response 500 but that might be related to session being killed. Did anyone else experience this?

0 likes
4 replies
vlado's avatar
Level 5

Anyone has an idea why this would be happening? It's completely random, sometimes I can stay logged in for hours and sometimes it logs me out immediately. All the other websites work just fine. Any help would be greatly appreciated..

Update: I have noticed that it usually happens if I start using Vue in my navbar

aliang's avatar

I got the same error too when I called laravel api via Vue. If I deleted Vue code, it disappeared. Still checking what is wrong.

vlado's avatar
Level 5

I am moving to RoR to try that for a platform. I understand that Spark as a product comes As-Is and with no support at all but if you can't find anyone to chip in with at least an idea like "have you tried turning it off and on again?!" than I am becoming a bit paranoid what happens when you have a real problem and get stuck.

I still think Spark is amazing product and will miss Spark/Vue integration dearly...

michaelrtm's avatar

If the API hits a 401 (through Vue) it automatically logs you out?

/resources/assets/js/inteceptors.js (line 22)

case 401:
    Vue.http.get('/logout');
    $('#modal-session-expired').modal('show');
    break;

Please or to participate in this conversation.