Session destruction
| From: | Kristofer Thorssell | Date: | Thu, 06 Sep 2001 14:56:17 +0000 |
| Subject: | Session destruction | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-66223@lists.php.net to get a copy of this message | ||
<?
session_start();
if(session_destroy()) echo "You are now logged out";
?>
is there something wrong with this?
because i've seen many comments where people say that you can't have start
and destroy in the same script.
/Kristofer