unset($_SESSION);
or
$_SESSION = array();

This reset all of the session variables. To reset only one, try this:

<?php
    unset($_SESSION['key']);
?>


--
Richard Heyes
http://www.websupportsolutions.co.uk

Knowledge Base and Helpdesk software for £299 hosted for you -
no installation, no maintenance, new features automatic and free

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to