Re: [cgiapp] authentication -- is this the best way to do it?

2005-01-07 Thread Jaldhar H. Vyas
On Thu, 6 Jan 2005, Michael Peters wrote: Hope that gives you even more ideas. Thanks to you and William for your responses. Looking back at my initial message, I think I was unclear as to exactly what I'm asking. I want to know if there are are better ways to do the authenticate in the

Re: [cgiapp] authentication -- is this the best way to do it?

2005-01-07 Thread William McKee
On Fri, Jan 07, 2005 at 09:55:03AM -0500, Jaldhar H. Vyas wrote: Thanks to you and William for your responses. Looking back at my initial message, I think I was unclear as to exactly what I'm asking. I want to know if there are are better ways to do the authenticate in the script itself

[cgiapp] authentication -- is this the best way to do it?

2005-01-06 Thread Jaldhar H. Vyas
In my app using CGI::Application::Plugin::Session, I want the basic view to be accessible to everyone and other runmodes accessible only to people who login. So I have a cgi_prerun function which looks like this: sub cgiapp_prerun() { my ($self, $runmode) = @_; delete $self-{newrunmode} if

Re: [cgiapp] authentication -- is this the best way to do it?

2005-01-06 Thread William McKee
This seems to be working well but my question is is there a better way? Hi Jaldhar, In my experiences with Perl and C::A, I've discovered that there's always a better way. The question is whether it's worth the effort to pursue. Against the advice of the C::A creator, I and many others on the

Re: [cgiapp] authentication -- is this the best way to do it?

2005-01-06 Thread Michael Peters
William McKee wrote: This seems to be working well but my question is is there a better way? Hi Jaldhar, In my experiences with Perl and C::A, I've discovered that there's always a better way. The question is whether it's worth the effort to pursue. Against the advice of the C::A creator, I and