note 9973 added to session_unregister

From: Date: Mon, 04 Dec 2000 23:16:57 +0000
Subject: note 9973 added to session_unregister
Groups: php.notes 
Request: Send a blank email to php-notes+get-8395@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"); } http://www.php.net/manual/function.session-unregister.php

« previous php.notes (#8395) next »