The problem i have really confuses me.
When i classify a session to the user (in either the login.php or register.php page) the page userarea.php displays properly.
If i then refresh the page or click a link to userarea.php all the info disappears.
I have tried echoing the session variable to see whats going on and instead of being "1" (the users id number) the variable changes to "Array" once refreshed.
I never actually touched the variable and all three pages have session_start(); in them.