From: "Tim Winters" <[EMAIL PROTECTED]> > Is there a way to wipe out all previous session variables with one > command?
With register_globals OFF: $_SESSION = array(); If register_globals is ON and you want to get rid of $val1, $val2, $val3, etc... then: foreach($_SESSION as $key => $value) { unset($$key); } ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php