Support the ongoing development of →
posted 1 month ago

Hi @msr-nayeem 👋

You could add an event listener for the beforeunload event in javascript that sends an ajax request to the backend to destroy the current session but there's no 100% chance that this will be executed every time successfully.

Have a look at the docs here:

I wish you a great day!


Sign in to participate in this thread!


Your banner here too?


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 - All rights reserved.