At login I'm handing out two $SESSION variables, one ('auth') contains the username, the other ('level') contains the users permission level (1-3). The 'auth' session works fine, and while logged in always echos the username. However, the 'level' session works after login, then after reloading the page resets itself to 1.
I'm only touching that varaible twice; once when it's assigned through a function, and then when I echo it back out. Any ideas as to why this may be happening? Is it a numerical thing? WTF?
Session variables
Moderator: General Moderators
- aceconcepts
- DevNet Resident
- Posts: 1424
- Joined: Mon Feb 06, 2006 11:26 am
- Location: London
Re: Session variables
Show your code.