Re: [cgiapp] encoding pragma and CGI::Session

2010-09-28 Thread Todd Ross
@lists.erlbaum.net Sent: Mon, September 27, 2010 10:37:15 PM Subject: Re: [cgiapp] encoding pragma and CGI::Session On Fri, Sep 3, 2010 at 8:31 PM, Ron Savage r...@savage.net.au wrote: Hi Todd Thanx for the sample code. More below. On Fri, 2010-09-03 at 09:08 -0700, Todd Ross wrote: CGI::Session: 4.20

Re: [cgiapp] hook question

2010-07-30 Thread Todd Ross
phases? Todd From: Cees Hek cees...@gmail.com To: CGI Application cgiapp@lists.erlbaum.net Sent: Thu, July 29, 2010 6:48:34 PM Subject: Re: [cgiapp] hook question On Fri, Jul 30, 2010 at 7:58 AM, Todd Ross tar.li...@yahoo.com wrote: I understand the distinction

[cgiapp] hook question

2010-07-29 Thread Todd Ross
Hello, I'm playing around with hooks in CGI::Application and am running into behavior that I don't understand. Given this script (suitable to run from the command line): [...@unixbox1:~] cat testcgiapp.pl #!/usr/bin/perl use strict; use warnings; my $webapp = Private::Webapp-new();

Re: [cgiapp] hook question

2010-07-29 Thread Todd Ross
to be processed at compile time, which seems like the same phase they're processed in in my existing example. Why would the behavior change? Todd From: Michael Peters mpet...@plusthree.com To: CGI Application cgiapp@lists.erlbaum.net Cc: Todd Ross tar.li

[cgiapp] Fw: FormKeys / Nonce

2010-07-19 Thread Todd Ross
Oops. Meant to send this to the list. Is anyone successfully using CGI::Application::Plugin::ProtectCSRF? Todd - Forwarded Message From: Todd Ross tar.li...@yahoo.com To: Michael Peters mpet...@plusthree.com Sent: Mon, July 19, 2010 10:48:30 AM Subject: Re: [cgiapp] FormKeys / Nonce

[cgiapp] FormKeys / Nonce

2010-07-16 Thread Todd Ross
Hello, We're looking to increase our application security foundation by adding Nonces to our HTML forms. A Nonce is a one-use token, generated with the form and validated with the submission, that helps to mitigate CSRF (cross site request forgery) attacks. A quick search of CPAN doesn't

Re: [cgiapp] CGI::Application Logo

2009-08-18 Thread Todd Ross
It seems like CrowdSPRING or 99Designs might be appropriate for something like this. Todd From: Paul Miller listm...@voltar-confed.org To: CGI Application cgiapp@lists.erlbaum.net Sent: Tuesday, August 18, 2009 9:17:19 AM Subject: Re: [cgiapp]

Re: [cgiapp] CGI::Application::FastCGI - The page isn't redirecting properly???

2008-05-23 Thread Todd Ross
Probably unrelated, I'm not really familiar with FastCGI, but this doesn't look right to me: my $sess_id = $self-param('sess_id'); // removed extra paren as others pointed out if (!$url_sess_id) { $self-delete_old_sess($sess_sess_id) if $sess_sess_id; What is $sess_sess_id?

Re: [cgiapp] CGI::Application::Dispatch Install Issues

2008-03-10 Thread Todd Ross
Michael, Ok, not instead of trying to use the toolchain to install Module:: Build and then Apache::Test (if you answered yes at the prompt) I'm just going to be really dumb. If you have Apache::Test on your machine I will use it and run the mod_perl tests as well as the CGI ones. Else I

[cgiapp] CGI::Application::Dispatch Install Issues

2008-03-07 Thread Todd Ross
I've seen quite a few posts on this list concerning CGI::Application::Dispatch. I'd like to try it out. Installing it, however, seems to be a problem. Since there is no README or INSTALL included in the archive, I'm following the normal Makefile.PL (or Build.PL) procedures. [EMAIL

Re: [cgiapp] Class::MOP? Really?

2007-10-28 Thread Todd Ross
[EMAIL PROTECTED] wrote on 10/22/2007 05:53:19 PM: Thanx - but I assume you're being sarcastic :-(. -- Ron Savage I thought you put forth a very articulate post with solid reasons. Myself, I like reading about Perl modules because I like expanding my arsenal of techniques. I'm enjoying

Re: [cgiapp] prerun and errormode handling

2007-09-26 Thread Todd Ross
Lee Carmichael [EMAIL PROTECTED] wrote on 09/21/2007 11:30:27 AM: 2. In my case, I only need error handling during prerun but while I'm working on this, it wouldn't take much more work to update the handling for the postrun hook. I could do this if anyone is interested. Thoughts, Comments,

Re: [cgiapp] Sub classing CGI::App

2006-11-17 Thread Todd Ross
( 'error' = 'do_error' ); # set the default error handler $self-error_mode('do_error'); } Then, in the sub modules: use base 'SuperApp'; instead of use base 'CGI::Application'; Todd Ross - Web Archive

Re: [cgiapp] Eval and standard error page

2006-10-09 Thread Todd Ross
Mark A. Fuller [EMAIL PROTECTED] wrote on 10/08/2006 02:24:57 PM: Oh yeah. :) I've seen that before but it didn't register with me. I just looked at the source for C::A and realize it wraps eval around the execution of the run mode. So, doing what I suggested (put an eval around the run

Re: [cgiapp] Re: Returning 404 errors when running as an MP1 handler

2006-08-15 Thread Todd Ross
Perrin Harkins [EMAIL PROTECTED] wrote on 08/14/2006 07:58:01 PM: On Mon, 2006-08-14 at 20:13 -0500, Mark Stosberg wrote: I definitely see a different result. I get just a blank page with this test: #!/usr/bin/perl use CGI; my $q = new CGI; print $q-header( -status = '404 Not

Re: [cgiapp] error mode question

2006-08-04 Thread Todd Ross
Rob Kinyon [EMAIL PROTECTED] wrote on 08/03/2006 02:14:30 PM: On 7/31/06, Todd Ross [EMAIL PROTECTED] wrote: I think CGI::Application's error handling would benefit greatly by eval{}ing hooks. I routinely find myself executing code that might die() inside of a setup() routine

Re: [cgiapp] error mode question

2006-07-31 Thread Todd Ross
Cees Hek [EMAIL PROTECTED] wrote on 07/31/2006 12:01:39 PM: Just a tiny correction (probably just a typo on your part since I believe you wrote the original error_mode patch ;-) ). It only wraps the execution of the actual runmode in an eval bock. It would be nice if it would also catch