still able to see restricted pages after logout
My login and logout pages are in the root folder. After login, user gets redirected to /admin, /teacher, /parent folder depending on the user level.
When I first open the browser, I am unable to see restricted pages. But once I login and logout, I am still able to browse the restricted pages. I hope the saved session variables are unset or deleted on logout.
Where should I look into to solve the issue?