getting all variables from session into array
| From: | Tobias Talltorp | Date: | Fri, 13 Apr 2001 12:42:42 +0000 |
| Subject: | getting all variables from session into array | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-48437@lists.php.net to get a copy of this message | ||
I know this question has been up here before, but all the searches I did
turned up with to many or no hits, so I couldn´t find anything.
I want to get all the variables from a session and get them into an array
like this:
$sessionvar[userid]
$sessionvar[user]
$sessionvar[email]
...
I think I remember something call vardump or something, but I could´t find
it in the manual.
Any thoughts?
// Tobias