note 26388 rejected from function.session-unregister by tix

From: Date: Tue, 29 Oct 2002 11:18:17 +0000
Subject: note 26388 rejected from function.session-unregister by tix
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-38690@lists.php.net to get a copy of this message
hello, i have got a problem with session variables. in script i submit a form, the forms variables are stored in a session variable, as expected. when i call another page of the website, identified by $id or $nodeid i call script like this: <? if($nodeid AND $nodeid!=134 AND $nodeid!=1000 AND $nodeid!=1165): while (list ($key, $val) = @each ($_SESSION)) { @session_unregister($key); } session_unset(); endif; ?> when i now return to my previous page with my searchresults, i still have these session variables registered and used. what am i doing wrong? thanks for your help in advance..

« previous php.notes (#38690) next »