Thanks,

another quick question. That works and I can access the variables still but
this
for ($x=0;$x<$s;$x++) {
$tmp = $HTTP_SESSION_VARS[$x];
echo("<p>tmp=$tmp</p>\n");
}

outputs

tmp=



???? Why? How do I cycle through each session var and get its name and
value?


""Keyur Kalaria"" <[EMAIL PROTECTED]> wrote in message
006501c0c42e$ba839860$2d64a8c0@office">news:006501c0c42e$ba839860$2d64a8c0@office...
> Hey Dave,
>
> you can try the following:
>
> num = sizeof($HTTP_SESSION_VARS);
>
>
> regards
> keyur
>
>
> ----- Original Message -----
> From: "phpman" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, April 13, 2001 8:40 PM
> Subject: [PHP] how to get num of sessions vars?
>
>
> > I thought this would work..
> >
> > $num = count($HTTP_SESSION_VARS);
> >
> > ..but it doesn't. I can access the session vars themselves, so I know
> > they're there. Help.
> >
> > -Dave
> >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to