I am not sure if this makes sense, but in an application I've working on, there are two users. One is an admin with an admin role/capabilities and the other is a member with a member role/capabilities. Now, when I log in as the admin, there is no issue. When I log in as a member, there is no issue until I navigate to a particular page. Then what happens is that the session is somehow reset, and the user is now logged in as the admin, but with still with the same user role/capabilities. Like I said, I know that doesn't make sense, but what should I look for in order to fix this issue? Thanks.
Jump to Post
Now, when you log in as Admin, do you "Sucessfuly" log out so the session is destroyed? The only thing i can think of is the session not being destroyed and the member gets the session because its still active. Or when you log in as Member, what is the …
All 3 Replies
We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.