Ronald Wiplinger wrote:
[EMAIL PROTECTED] wrote:


2007/10/18, Nathan Nobbe <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:

    On 10/18/07, Ronald Wiplinger <[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>> wrote:
    >
    > Is there a simple way to display all session variables? Like the
    code
    > below I use in debug for all posted variables:
    >

    echo '<pre>';
    var_dump($_SESSION);
    echo '</pre>';

    -nathan


or use print_r($_SESSION);



I 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?

Found it:   The session was at that moment not open!

bye

Ronald

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to