> -----Original Message-----
> From: Nick Adams [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 01, 2001 3:47 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] session_destroy()
> 
> 
> Just curious if anyone knows how to properly destroy a session.

As I understand it, session_unregister() removes a variable from the list of
session variables. session_destroy removes the session's content from
wherever it is being stored (e.g., a file in /tmp). To delete the *values*
of the variables immediately, use session_unset().

Kirk

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to