therecluse26 / PHP-Login

A login system built with PHP, MySQL, jQuery and Bootstrap
MIT License
839 stars 444 forks source link

Permissions issues #214

Open mattish91 opened 6 years ago

mattish91 commented 6 years ago

So, i have one account, (superadmin permissions) i created multiple pages (page_4) and added them in the nav bar (barmenu.php) when im visiting on of the page_4.php and then going back to index i have lost all permissions and can never go back to any page without loging out and back in, then i got permission to view one page, and then if i try to visit any other page_4.php page im immediately refered back to index.php without permissions (again). Any one know how to solve this?

mattish91 commented 6 years ago

i simply solved this by creating another permissions group that have all the superadmin permissions, deactivated superadmin permission all together and it seams to work fine now, not sure exactly why tho.

Nope, issue seams to be back -.- it seams that the session expires or something when visiting page_4.php then going back to index, it just says the username instead of first name last name, and permissions lost for some reason....