> 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.

It looks like this behavior is related to the implementation of
CGI::Application::FastCGI, which documents that per-request
code should happen in "prerun()" ( which I think is odd ).

http://search.cpan.org/~naoya/CGI-Application-FastCGI-0.02/lib/CGI/Application/FastCGI.pm

> am i missing something? is there a canonical way to run cgi::apps in
> an fcgi environment?

I'm not currently using CGI::Application with FastCGI, but here's an
alternate approach to try:

http://www.cgi-app.org/index.cgi?FastCGI

I would guess that with this second approach, more things will become
"per request", and your current code may work.

    Mark



#####  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/                 ##
##                                                            ##
################################################################

Reply via email to