Hello, I have an odd situation.
I have an admin where multiple users can log in and do things. BUt in this Admin is another Log In area where the Main Admin can change passwords and give admin priviledges etc..
How do i keep track of the second Admin session when they are already in a session?
Anyone who is on the users list can log into the Admin, but only the head Admin should be able to log into the second admin where you can change passwords and stuff.
So how do I go about password protecting the second admin?
Confused...😕
I thought about adding a session variable like
session_register('Head Admin");
when the correct password is entered and then checking to see if that variable excists on the other pages but I'm not sure that is the best way to do it...
Thanks!😃