I need to add in functionality which at the begginning of every script check the permission level of the user accessing the page. There are about 15 different permissions.
I am debating whether i should store all the permission abilities into session variables and they can quickly be checked throughout the script, or whether i should query the database to check to see if the user has adequate group permissions to perform a certain function.
Could someone give me some advice as to which would be more advisable?
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php