Jump to content

Session destroy on navigate away


Wolftousen

Recommended Posts

I'm new to php, but not to programming, and i'm using very basics of sessions to manage a user being logged into my site.  When testing it, everything works until I move away from my site.  I would like the session to be destroyed if you navigate away, is there an easy way of doing this without using javascript (i'm trying to make my site javascript-less for those who chose not to have scripts enabled)?

Link to comment
https://forums.phpfreaks.com/topic/141998-session-destroy-on-navigate-away/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.