Benjamin wrote:
>you could centralize this behavior by putting the above permission
>checking code in cgiapp_init, this way it could even be more
>generalized, because you can read the run mode name in one place and
>then decide if processing should continue or an error should be sent to
>the user.
>
>hope this helps
>Benjamin
>
Benjamin,
How would I test run-mode ids? Would I need to include it in the
URL and then have a large if.. elsif... elsif... elsif... elsif... else
tree? Please explain this further. I am not sure how this would work
but it sounds better than testing in each mode. I tried to think of a
way to do this in the app.cgi instead of the App.pm but I didn't think
of anything (or at least I didn't think of anything that was better).
--
Thanks,
Kenny Pyatt
President
Design Shack
www.dshack.com
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/[email protected]/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]