hello guys, i have a login page for admins, and there are two types of admins members and administrators.... i had create a session with the id for each one and his job so if the admin had entered and then he write in the address bar the control panel for the member he will not access it and vice versa but the problem is when i login in both member and admin i can access both pages i tried to use
i forget to say.. when he enter the address he only go to the other page but when he choose any button it told him to enter his username and password but i need not to allow the other to see the main page of the other ,,,