Right now what I am doing is defining a multiple menu files and store their location in a table. Then, based upon the login and role lookup I choose I choose the appropriate menu file and insert it, via PHP, into the HTML stream.
Works fine.
But here's the rub: everything I specify a new role and/or new function I have this awful editting session: (1) update the master menu (has everything); update Finance Administer variant, Customer variant, etc., etc. As I said this "works" but it sure is time consuming and can be prone to error (of course).
So here is what I was thinking:
> establish separate menu files for various collections of items
> Based upon role, select the appropriate menu files and concatenate them into a single menu file using PHP commands. Then write the file as a session variable which is then simply referenced in the HTML script.
Is this viable? Doable? How have others solved this problem?
I suppose, alternatively, I could store everything in a database and write the MILONIC file specialized to the user when the login. I sure would like to avoid all this work, though.
Thoughts, suggestions, working examples

Victor Harrison.
PS: one more thing: I store locations for various script files in session variables. I noted the one post solved the problem of location by coding the location into the MILONIC script. OK, I can do that. But sure would be nice to reuse all those session variables instead of creating a new technique. I can't resolve the variable pre-processor mode given the nature of JS, so is there a alternative way to reuse already created session variable?