note 9973 deleted from session_unregister by zak
| From: | zak@php.net | Date: | Wed, 18 Jul 2001 02:38:10 +0000 |
| Subject: | note 9973 deleted from session_unregister by zak | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-15516@lists.php.net to get a copy of this message | ||
If you want to unregister all the vars with simplicity you can make a simple function like this:
$killvars =
array("Name","Email","Zip","Cardnumber","is18val");
while(list($key, $val) = each($killvars)) {
session_unregister("$val");
}