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

mstdmstd's avatar

How with jQuery catch if login session was expired ?

Hello, In my Laravel 8 app I use jQuery 3.5.1 and wonder if there is a way in case if login session was expired to catch this error in 1 place to make logout from the app?

Thanks!

0 likes
0 replies

Please or to participate in this conversation.