Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Viewing Session Variables

Options
  • 16-04-2008 11:45am
    #1
    Registered Users Posts: 3,401 ✭✭✭


    Lads,

    How do I view the session variables in my page? Is there a firefox plugin or anything?

    I'm registering username and password variables but the next page can't find them.

    Very annoying!

    Thanks
    Gary


Comments

  • Registered Users Posts: 9,579 ✭✭✭Webmonkey


    On the server side?

    I'm guessing it PHP you work with? - Why not do
    [PHP]
    print_r($_SESSION);
    [/PHP]

    Might give you an idea what is going on.

    By the way don't forget
    [PHP]
    session_start();
    [/PHP]

    as you won't get them then. Common mistake :)

    I hope I havn't gone off on a totally different thing than what you want.


  • Registered Users Posts: 3,401 ✭✭✭randombar


    Nice one monkey, ya you guessed it php.

    I'll give that a whirl now and see how i get on!

    Gary


Advertisement