Hello there!
I have a strange problem. I am developing a members zone, and I set the variables when I login. $SESSION['name'] is set by a variable from the database, but I also set $SESSION['loggedin'] to "yes". The members system works fine and it keeps track if you are logged in or not (done by $SESSION['loggedin']), but the $SESSION['name'] variable can only be displayed once. If I have it echo $_SESSION['name']; on one page it displays it. Once I refresh it, its gone.
Problem is $SESSION['loggedin'] works, but not $SESSION['name'] and all other variables I set dynamically with data from a database.