[cgiapp] Re: CAP::Authorization, CAP::AutoRunmode CA::Dispatch

2009-08-12 Thread Mark Stosberg
On Tue, 11 Aug 2009 10:52:51 +0100 Richard Jones ra.jo...@dpw.clara.co.uk wrote: Am having some difficulty with the FORBIDDEN_RUNMODE param when using CAP::Authorization with CA::Dispatch. All my application classes inherit from a base class where I have defined the 'forbidden' runmode

Re: [cgiapp] CAP::Authorization, CAP::AutoRunmode CA::Dispatch

2009-08-12 Thread P Kishor
On Tue, Aug 11, 2009 at 4:52 AM, Richard Jonesra.jo...@dpw.clara.co.uk wrote: Am having some difficulty with the FORBIDDEN_RUNMODE param when using CAP::Authorization with CA::Dispatch. All my application classes inherit from a base class where I have defined the 'forbidden' runmode (using

[cgiapp] order of operations

2009-08-12 Thread P Kishor
I have read the article on Order of Operations at http://cgiapp.erlbaum.net/index.cgi?OrderOfOperations but I am not clear as to what is going on in my situation. Here is what I have --- MyAuthen.pm --- package MyAuthen; 1. sub cgiapp_get_query { .. } 2. sub cgiapp_init { .. } 3. sub setup { ..

Re: [cgiapp] order of operations

2009-08-12 Thread Mark Fuller
On Wed, Aug 12, 2009 at 8:27 AM, P Kishorpunk.k...@gmail.com wrote: I have read the article on Order of Operations at http://cgiapp.erlbaum.net/index.cgi?OrderOfOperations ... I can't answer your question. But, I never saw that document before. It's really useful. I think it would be

[cgiapp] Re: order of operations

2009-08-12 Thread P Kishor
Replying to my own email to clarify one point that was not obvious to me -- On Wed, Aug 12, 2009 at 10:27 AM, P Kishorpunk.k...@gmail.com wrote: I have read the article on Order of Operations at http://cgiapp.erlbaum.net/index.cgi?OrderOfOperations but I am not clear as to what is going on in

Re: [cgiapp] Re: order of operations

2009-08-12 Thread Ron Savage
Hi Puneet On Wed, 2009-08-12 at 12:07 -0500, P Kishor wrote: 1. sub setup { my $self = shift; $self-SUPER::setup(); $self-run_modes([qw( welcome view )]); $self-start_mode('welcome'); $self-param(protected_runmodes = [qw(view)]); The above line re-declares the

Re: [cgiapp] Re: order of operations

2009-08-12 Thread P Kishor
On Wed, Aug 12, 2009 at 5:50 PM, Ron Savager...@savage.net.au wrote: Hi Puneet On Wed, 2009-08-12 at 12:07 -0500, P Kishor wrote: 1. sub setup {    my $self = shift;    $self-SUPER::setup();    $self-run_modes([qw( welcome view )]);    $self-start_mode('welcome');