Re: How to display ALL session variables? - solved
| From: | Ronald Wiplinger | Date: | Thu, 18 Oct 2007 10:11:55 +0000 |
| Subject: | Re: How to display ALL session variables? - solved | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-263287@lists.php.net to get a copy of this message | ||
Ronald Wiplinger wrote:
truncatei@gmail.com wrote:Found it: The session was at that moment not open! bye Ronald2007/10/18, Nathan Nobbe <quickshiftin@gmail.com <mailto:quickshiftin@gmail.com>>:Is there a simple way to display all session variables? Like theOn 10/18/07, Ronald Wiplinger <ronald@elmit.com <mailto:ronald@elmit.com>> wrote:below I use in debug for all posted variables:codeI tried: <?php echo '<pre>'; var_dump($_SESSION); echo '</pre>'; echo '<p>above as var_dump(D_SESSION) - below as print_r(D_SESSION)'; print_r($_SESSION); ... However, I only see: above as var_dump(D_SESSION) - below as print_r(D_SESSION) What is the obviously part I am missing?echo '<pre>'; var_dump($_SESSION); echo '</pre>';-nathanor use print_r($_SESSION);