Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Viewing Session Variables

  • 16-04-2008 10:45AM
    #1
    Registered Users, Registered Users 2 Posts: 3,507 ✭✭✭


    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, Registered Users 2 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, Registered Users 2 Posts: 3,507 ✭✭✭randombar


    Nice one monkey, ya you guessed it php.

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

    Gary


Advertisement
Advertisement