Re: how to get num of sessions vars?
| From: | Keyur Kalaria | Date: | Fri, 13 Apr 2001 15:30:48 +0000 |
| Subject: | Re: how to get num of sessions vars? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-48459@lists.php.net to get a copy of this message | ||
Hey Dave,
you can try the following:
num = sizeof($HTTP_SESSION_VARS);
regards
keyur
----- Original Message -----
From: "phpman" <info@graphicon.nu>
To: <php-general@lists.php.net>
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: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>