session variables
Posted: Tue Jan 29, 2008 10:32 am
heya everyone
I am having a few troubles using the session variable.
On the login page i am starting the session and assigning a value (the username) to the $_SESSION variable.
Then i am tryin to access that variable on the next page and it isnt showing it and the same on a different page. However if i change it so that instead of loading a page is the login details are correct it just display's the username from teh $_Session variable then it displayes it fine.
Can anyone help?
Frosty
I am having a few troubles using the session variable.
On the login page i am starting the session and assigning a value (the username) to the $_SESSION variable.
Then i am tryin to access that variable on the next page and it isnt showing it and the same on a different page. However if i change it so that instead of loading a page is the login details are correct it just display's the username from teh $_Session variable then it displayes it fine.
Can anyone help?
Frosty