I'm working on a project for school. We're making MP3 download sites where you sign up for an account and use your credit card to get credits for downloading music.
I need help with how to log-out and suspend the session without terminating the mysql data in the users table. Any help would be appreciated.
Suspending a Session
Moderator: General Moderators
- shiznatix
- DevNet Master
- Posts: 2745
- Joined: Tue Dec 28, 2004 5:57 pm
- Location: Tallinn, Estonia
- Contact:
suspend the data like you mean
or if you want to just kinda backup the session without destroying it you could make a copy of the session with a fk_the_original_session_name_here or somthing so once you want to start using it again you could just go back and do the same thing
Code: Select all
$_SESSION = array();
unset($_SESSION);