Re: HTTP_SESSION_VARS

From: Date: Wed, 01 Aug 2001 20:16:14 +0000
Subject: Re: HTTP_SESSION_VARS
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-60767@lists.php.net to get a copy of this message
if there aren't any session vars, $HTTP_SESSION_VARS won't be an array. i use something like if(isset($HTTP_SESSION_VARS)) { reset($HTTP_SESSION_VARS); while(list($k, $v) = each($HTTP_SESSION_VARS)) { do_something($k,$v); } } on 8/1/01 11:46 AM, Jon Yaggie at dmsales@design-monster.com wrote: > SORRY i just coppied it wrong > the actual code is capitalized > > while(list($k, $v) = each($HTTP_SESSION_VARS)) > -- mike cullerton michaelc@cullerton.com

« previous php.general (#60767) next »