[cgiapp] CGI::Application::Dispatch V 2.00_05

2006-05-02 Thread Ron Savage
Hi Michael The Synopsis has a sub called args_to_dispatch but it should be dispatch_args. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/

Re: [cgiapp] Upload meter plugin/tutorial?

2006-05-02 Thread Cees Hek
On 5/2/06, Ron Savage <[EMAIL PROTECTED]> wrote: > Does what work for Registry scripts? If you are talking Sorry, should have spelled it out. Apache2::UploadMeter? Ahh, I see on CPAN: Apache2::UploadProgress. I meant: Did Apache2::UploadProgress work when called from code which is not a mod_p

Re: [cgiapp] Upload meter plugin/tutorial?

2006-05-02 Thread Ron Savage
On Tue, 2 May 2006 20:38:20 -0400, Cees Hek wrote: Hi Cees > Does what work for Registry scripts? If you are talking Sorry, should have spelled it out. Apache2::UploadMeter? Ahh, I see on CPAN: Apache2::UploadProgress. I meant: Did Apache2::UploadProgress work when called from code which is n

Re: [cgiapp] Upload meter plugin/tutorial?

2006-05-02 Thread Cees Hek
On 5/2/06, Ron Savage <[EMAIL PROTECTED]> wrote: On Tue, 2 May 2006 14:10:46 -0400, Cees Hek wrote: Hi Cees > But since you mention mod_perl 1, I guess you will have to do a lot Does it work for Registry scripts? Does what work for Registry scripts? If you are talking Apache2::UploadMeter,

Re: [cgiapp] OT: apache logout and a javascript question

2006-05-02 Thread Ron Savage
On Tue, 02 May 2006 10:39:15 +0200, Michael Lackhoff wrote: Hi Michael > My second question is really off topic but perhaps someone can give > me a short hint. I need a pair of multiple select boxes where one > can move entries from one box to the other by clicking on an arrow > button. There ar

Re: [cgiapp] Upload meter plugin/tutorial?

2006-05-02 Thread Ron Savage
On Tue, 2 May 2006 14:10:46 -0400, Cees Hek wrote: Hi Cees > But since you mention mod_perl 1, I guess you will have to do a lot Does it work for Registry scripts? -- Cheers Ron Savage, [EMAIL PROTECTED] on 3/05/2006 http://savage.net.au/index.html Let the record show: Microsoft is not an Austra

Re: [cgiapp] RFC: CGI::Application::Plugin::RateLimit

2006-05-02 Thread Sam Tregar
On Tue, 2 May 2006, Michael Peters wrote: Hmmm. How would that method indicate a violation? It's not obvious to me how that would interact with 'violation_mode', for example. Good point. Maybe a check_violation() companion to record_hit()? my %limit_args = ( user => $user_id, action => fai

RE: [cgiapp] OT: apache logout and a javascript question

2006-05-02 Thread Dan Horne
Hi Michael > This could work though I don't know how to set and check cookies from > an authz handler. I'll think about it... Thinking about it, you don't need the Basic Authentication login box - Just write your own login page using standard HTML. 1. Have your login function generate a cookie

Re: [cgiapp] RFC: CGI::Application::Plugin::RateLimit

2006-05-02 Thread Michael Peters
Sam Tregar wrote: > On Tue, 2 May 2006, Michael Peters wrote: > >>> # set the table name to use for storing hits >>> $rate_limit->table('rate_limit_hits'); >> >> It might be nice if there was a reasonable default for this table name. >> Apache::Session and CGI::Session both default to 's

Re: [cgiapp] RFC: CGI::Application::Plugin::RateLimit

2006-05-02 Thread Sam Tregar
On Tue, 2 May 2006, Michael Peters wrote: # set the table name to use for storing hits $rate_limit->table('rate_limit_hits'); It might be nice if there was a reasonable default for this table name. Apache::Session and CGI::Session both default to 'sessions' but can be changed. Sure,

Re: [cgiapp] RFC: CGI::Application::Plugin::RateLimit

2006-05-02 Thread Michael Peters
Sam Tregar wrote: > so > please feel free to be completely ruthless. You didn't say whether or not you would hold this against us at some future date :) > # set the table name to use for storing hits > $rate_limit->table('rate_limit_hits'); It might be nice if there was a reasonable de

[cgiapp] RFC: CGI::Application::Plugin::RateLimit

2006-05-02 Thread Sam Tregar
Greetings all. I'm working on an application which will allow users to send email to other people. For obvious reasons we'd like to make it maximally difficult for spammers to use our app as a gateway. Take a look at a part of my solution which I think might have use elsewhere and let me know w

Re: [cgiapp] Upload meter plugin/tutorial?

2006-05-02 Thread Cees Hek
On 5/2/06, Barry Hoggard <[EMAIL PROTECTED]> wrote: I'm getting ready to add an upload meter to some CGI::Application- based applications, running under mod_perl (1.x). Is there a plugin I've missed, or a tutorial somewhere I could use? Otherwise I'll just adapt something from one of the CPAN m

Re: [cgiapp] Upload meter plugin/tutorial?

2006-05-02 Thread RA Jones
Barry Hoggard wrote: I'm getting ready to add an upload meter to some CGI::Application-based applications, running under mod_perl (1.x). Is there a plugin I've missed, or a tutorial somewhere I could use? Otherwise I'll just adapt something from one of the CPAN modules. I think Cees is doin

[cgiapp] Upload meter plugin/tutorial?

2006-05-02 Thread Barry Hoggard
I'm getting ready to add an upload meter to some CGI::Application- based applications, running under mod_perl (1.x). Is there a plugin I've missed, or a tutorial somewhere I could use? Otherwise I'll just adapt something from one of the CPAN modules. -- Barry Hoggard Tristan Media LLC

Re: [cgiapp] OT: apache logout and a javascript question

2006-05-02 Thread Cees Hek
On 5/2/06, Michael Lackhoff <[EMAIL PROTECTED]> wrote: I followed the advice from this list and wrote mod_perl authentification- and authorization handlers to move this task from my application to apache. But now I have the problem that for this kind of authentification there is no 'logout' funct

RE: [cgiapp] OT: apache logout and a javascript question

2006-05-02 Thread Michael Lackhoff
On 2 May 2006 at 23:07, Dan Horne wrote: > How about setting a cookie when the user logs in - so an authenticated user > will have both the basic credentials and the cookie - i.e. your > authentication handler will check that both are provided. Delete the cookie > when the user logs out. This cou

Re: [cgiapp] OT: apache logout and a javascript question

2006-05-02 Thread Michael Lackhoff
On 2 May 2006 at 8:49, Jason Purdy wrote: > HTH! Thanks, Jason, I am sure it will! Cheers, Michael - Web Archive: http://www.mail-archive.com/cgiapp@lists.erlbaum.net/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&

Re: [cgiapp] OT: apache logout and a javascript question

2006-05-02 Thread Jason Purdy
[NOTE: Code included, so this post is long] In regards to your 2nd question, I recently tackled that, myself. Those arrow buttons are done in JavaScript, though I guess you could do them with forms, too. First, the HTML: --

RE: [cgiapp] OT: apache logout and a javascript question

2006-05-02 Thread Dan Horne
Hi > From: Michael Lackhoff > > I followed the advice from this list and wrote mod_perl > authentification- and authorization handlers to move this task from my > application to apache. > But now I have the problem that for this kind of authentification there > is no 'logout' functionallity. H

Re: [cgiapp] OT: apache logout and a javascript question

2006-05-02 Thread Michael Lackhoff
On 2 May 2006 at 6:36, Sean Davis wrote: > I typically have something like a "teaser" page that isn't protected that > includes stuff like messages, usage stats, overview, etc. On that page, > there can be a spot for the user information, if the user is logged in. If > the user is not logged in,

Re: [cgiapp] OT: apache logout and a javascript question

2006-05-02 Thread Sean Davis
On 5/2/06 4:39 AM, "Michael Lackhoff" <[EMAIL PROTECTED]> wrote: > Hello, > > I followed the advice from this list and wrote mod_perl > authentification- and authorization handlers to move this task from my > application to apache. > But now I have the problem that for this kind of authentific

[cgiapp] OT: apache logout and a javascript question

2006-05-02 Thread Michael Lackhoff
Hello, I followed the advice from this list and wrote mod_perl authentification- and authorization handlers to move this task from my application to apache. But now I have the problem that for this kind of authentification there is no 'logout' functionallity. How do others handle this problem?