Re: [cgiapp] Poll: What's your favorite CGI-App plugin and why?

2008-02-15 Thread Brian Edwards
On Thursday 14 February 2008 17:17:24 Ron Savage wrote: On Wed, 2008-02-13 at 21:01 -0500, David Moreno wrote: Hi David I'd like to start a little poll about what are people's favorite CGI-App plugins and why. CGI::Application::Dispatch CGI::Application::Plugin::Session Ditto, along

[cgiapp] Anomaly in CAP::Session

2008-02-15 Thread Brad Cathey
I don't know if this has been discussed previously, but I can't kill a session with: $self-session_delete; however: my $session = new CGI::Session(); $session-delete(); works like a champ. Am I missing anything? Thanks! # CGI::Application community mailing list

[cgiapp] Session name, CGI::Session and CAP::Session

2008-02-15 Thread Lee Carmichael
Hello Everyone, I am having a bit of an issue with how the 'name' attribute is being set on CGI::Session (CGI::Session-name). It is necessary to set the class value for 'name' before creating a session after which it is possible and useful to set it on the instance. I have a base class that

Re: [cgiapp] CGI::Application::Dispatch implementation

2008-02-15 Thread Michael Peters
Bruce McKenzie wrote: CGI::Application::Dispatch is a favorite plugin of many on this list, and it used to be one of mine, but it stopped working in my setup at version 2.x. Never figured out why, and I'm OK doing things the old-fashioned way, but I thought I'd give it another shot. Suppose

Re: [cgiapp] Session name, CGI::Session and CAP::Session

2008-02-15 Thread Michael Peters
Lee Carmichael wrote: I think I might not have been clear. I do want the sessions to be manage per user but I want to alter the session name in the cookie/url based upon the application subclass. Are you sure you want separate sessions? Or do you just want different locations in the same

Re: [cgiapp] Session name, CGI::Session and CAP::Session

2008-02-15 Thread Lee Carmichael
Hello Todd, Good to hear from you. I think I might not have been clear. I do want the sessions to be manage per user but I want to alter the session name in the cookie/url based upon the application subclass. e.g. App::Base has subclasses: App::A - has session name of 'A' App::B -

Re: [cgiapp] Poll: What's your favorite CGI-App plugin and why?

2008-02-15 Thread Cees Hek
On Sat, Feb 16, 2008 at 2:06 AM, Brian Edwards [EMAIL PROTECTED] wrote: BTW, can somebody tell me if I am correct in using: use CGI::Session (qw/-ip_match/); use CGI::Application::Plugin::Session; to require the remote host ip address to match the ip stored in the session? Yes, that

Re: [cgiapp] Poll: What's your favorite CGI-App plugin and why?

2008-02-15 Thread Michael Peters
Cees Hek wrote: Second, there are some clients out there that may come from different IP addresses on every request if they are using a pool of proxy servers. So make sure you know your audience when using this option. This is especially true for something like the iphone or other wireless

Re: [cgiapp] CGI::Application::Dispatch implementation

2008-02-15 Thread Bruce McKenzie
Michael Peters wrote in an email message dated 2/15/2008 5:00 PM: Is your module's package called Modules::Notify or just Notify? If it's the first then change your use lib line to: use lib $Bin; If it's the latter, then you don't need a prefix at all:

Re: [cgiapp] CGI::Application::Dispatch implementation

2008-02-15 Thread Michael Peters
Bruce McKenzie wrote: Thanks Michael. Any way I name it, I get a Not Found. That's becuase you didn't follow my advice :) See below. I tried this: #!/usr/bin/perl use strict; use FindBin qw($Bin); use lib $Bin/../perl_lib; # my standard lib use lib $Bin/Modules; # lib for this

Re: [cgiapp] Poll: What's your favorite CGI-App plugin and why?

2008-02-15 Thread Cees Hek
On Sat, Feb 16, 2008 at 10:02 AM, Michael Peters [EMAIL PROTECTED] wrote: Third, if you ever have to scale your application so that's it's behind a reverse proxy (a very typical first stage when scaling) everything will break since everyone will appear to be coming from the same IP. For an

[cgiapp] [ANNOUNCE] Krang V3.01

2008-02-15 Thread Jesse Erlbaum
Krang v3.01 Release: February 15, 2008 Release Summary This release adds many new, and often requested features. Krang now supports multiple windows, permitting users to edit more than one story at a time. A syntax-highlighting text editor has been added for editing templates and text-based

Re: [cgiapp] Poll: What's your favorite CGI-App plugin and why?

2008-02-15 Thread Perrin Harkins
On Feb 13, 2008 9:01 PM, David Moreno [EMAIL PROTECTED] wrote: I'd like to start a little poll about what are people's favorite CGI-App plugins and why. CGI::Application::Plugin::ValidateRM is wicked awesome for tying up a common application pattern into a neat bundle. - Perrin #

Re: [cgiapp] Anomaly in CAP::Session

2008-02-15 Thread Cees Hek
On Sat, Feb 16, 2008 at 3:17 AM, Brad Cathey [EMAIL PROTECTED] wrote: I don't know if this has been discussed previously, but I can't kill a session with: $self-session_delete; however: my $session = new CGI::Session(); $session-delete(); works like a champ.

[cgiapp] CGI::Application::Dispatch implementation

2008-02-15 Thread Bruce McKenzie
CGI::Application::Dispatch is a favorite plugin of many on this list, and it used to be one of mine, but it stopped working in my setup at version 2.x. Never figured out why, and I'm OK doing things the old-fashioned way, but I thought I'd give it another shot. Suppose I have: directory

Re: [cgiapp] CGI::Application::Dispatch implementation

2008-02-15 Thread Bruce McKenzie
Michael Peters wrote in an email message dated 2/15/2008 6:37 PM: Bruce McKenzie wrote: Thanks Michael. Any way I name it, I get a Not Found. That's becuase you didn't follow my advice :) See below. Well, I tried :-( So your module is called 'Notify'. If you notice in my last email I said