RE: [PHP] session_destroy()
| From: | Johnson, Kirk | Date: | Tue, 01 May 2001 21:52:38 +0000 |
| Subject: | RE: [PHP] session_destroy() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-51035@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Nick Adams [mailto:wizz1@home.com]
> Sent: Tuesday, May 01, 2001 3:47 PM
> To: php-general@lists.php.net
> 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