Hey,
I was testing my website and found the following bug:
eg.
not all users have the same rights on my website. When a normal users login I set Session("user" = 1, when a admin logs in I set Session("user" = 2. But when I login with a normal user and visit a certain webpage, then log out, and log in with the admin, than visit that page again the Session("user" changes back too 1.
When I first login as an admin, visit a page, log out and relogin as a normal user and visit that page again, the session chang back too 2.
The problem can be solved when I delete my tempory internet files when I log out, but isn't there another way?
somebody can help me?
I was testing my website and found the following bug:
eg.
not all users have the same rights on my website. When a normal users login I set Session("user" = 1, when a admin logs in I set Session("user" = 2. But when I login with a normal user and visit a certain webpage, then log out, and log in with the admin, than visit that page again the Session("user" changes back too 1.
When I first login as an admin, visit a page, log out and relogin as a normal user and visit that page again, the session chang back too 2.
The problem can be solved when I delete my tempory internet files when I log out, but isn't there another way?
somebody can help me?