hi all, i apologize if this is a repost. i sent this before i got the notification that i had been added to this list, so i'm not sure it reached anyone. if you did already see it, please ignore.
nathan ---------- Forwarded message ---------- From: Nathan Jahnke <[email protected]> Date: Thu, Apr 16, 2009 at 1:41 PM Subject: cgi::application::plugin:session: only one session id per instance under fcgi? To: [email protected] hi all, first off, great framework. but i'm having some trouble with cgi::app::plugin::session under fcgi. i'm only getting one session id per application instance (since session_config() has to be called in cgiapp_init() i guess?). this effectively means that all clients have the same session id. lighttpd 1.4.x config is as follows: ## server.modules += ( "mod_fastcgi" ) fastcgi.server = ( ".pl" => (( "bin-path" => "/var/www/censored.pl", "socket" => "/tmp/perl.socket", "check-local" => "disable", "min-procs" => 2, "max-procs" => 5, "idle-timeout" => 20 ))) ## censored.pl is like this: #!/usr/bin/perl -w use strict; use warnings; use censored; my $webapp = censored->new; $webapp->run(); ## i've replicated this with a barebones censored.pm (default values for session_config() etc). of course i use: ## use base qw(CGI::Application::FastCGI); ## ... in censored.pm. session management works as expected running the identical application under vanilla cgi. am i missing something? is there a canonical way to run cgi::apps in an fcgi environment? thanks in advance nathan ##### CGI::Application community mailing list ################ ## ## ## To unsubscribe, or change your message delivery options, ## ## visit: http://www.erlbaum.net/mailman/listinfo/cgiapp ## ## ## ## Web archive: http://www.erlbaum.net/pipermail/cgiapp/ ## ## Wiki: http://cgiapp.erlbaum.net/ ## ## ## ################################################################
