posted
I need to figure out the code for deleting the session information in my tmp folder when a user logs out. The code I've generated ends the session successfully but it's not deleting the information.
posted
Hi, i was checking out some books and saw this topic.
I've been working with sessions lately and as far as i know the first thing you have to do is recover the current session with session_start() and also call to session_unset() and session_destroy() only once.
this is a sample code of what i use to script a log out: