In article <[EMAIL PROTECTED]>, Bill McCormick wrote: >> >> Finally, you might be able to use exactly the same run modes, with a >> validation check beforehand as to whether your are in "admin mode" or >> note. > > Validation check? As in checking a CGI:App PARAM? Or is there a more elegant > solution that you've used?
Here's an example of using CGI::App with CGI::Session: http://twiki.med.yale.edu/twiki2/bin/view/CGIapp/SessionsWithCgiApp It involves overriding some methods. Something like "admin_p => 1" could be stored in the session in tell you whether you are in admin mode or not. Mark --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
