Session variables changing
Posted: Wed Aug 11, 2004 6:16 pm
Weird. Anyone else have ever have this problem?
I have a problem with session variables changing unpredictably. For example, say my username is john. So, when I login as John, I set a session variable to 'John'. The problem is it won't "stick". For example, I load a php page and it says 'John', which it should. But the next page I go to or even if I reload the same page, it changes to Sally. Any ideas? Thanks.
Also, this does not appear to happen with all session variables. And I am using only a few session variables and they are all based on account information, username, real name, etc. Thanks again.
I have a problem with session variables changing unpredictably. For example, say my username is john. So, when I login as John, I set a session variable to 'John'. The problem is it won't "stick". For example, I load a php page and it says 'John', which it should. But the next page I go to or even if I reload the same page, it changes to Sally. Any ideas? Thanks.
Also, this does not appear to happen with all session variables. And I am using only a few session variables and they are all based on account information, username, real name, etc. Thanks again.