I'm writing a script where a user can delete account. While user is logged in there are a few vars set into session. How do I unset all of the sessions? I must be having a mental block...
session_unset(); session_destroy();
Great. I used $_SESSION = array(); but completely forgot: session_destroy();