Re: Session variables
| From: | Burhan Khalid | Date: | Tue, 08 Apr 2003 14:59:35 +0000 |
| Subject: | Re: Session variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-142876@lists.php.net to get a copy of this message | ||
On Tue, 2003-04-08 at 09:53, Erich Kolb wrote:
> How can I get a list of all active session variables?
while (list($key,$val) = each($_SESSION)) {
echo "Key : ".$key." Value : ".$val."<br />";
}
That should do it
--
Burhan Khalid
phplist[at]meidomus[dot]com
Please add a reply-to header
with the email address of the
list so messages get relayed
back.