Hi Richard On Fri, 2008-11-21 at 12:05 +0000, Richard Jones wrote: > If Ron can make a working demo with CAP::Flash :) ..
Go on, say it! If he can, anyone can! > Starting out with the bare minimum (no login, no authentication, direct > use of $dbh, etc), I get the flash messages displaying under mod_cgi, > but not under CA::Server unless I session->flush in teardown. > > use base qw(Titanium); > use CGI::Application::Plugin::TT; > use CGI::Application::Plugin::Flash; > > Startmode() sets some flash messages then re-directs to function1() to > display the template. > > Removing Titanium and substituting CGI::Application as the superclass > was the key to getting the flash messages displayed under CA::Server > without needing session->flush. Yay!! > > Then, bringing back all the plugins that Titanium uses one by one until > it broke again, CAP::ErrorPage is the one responsible. Presumably there > is something in there that causes the session to be retained in a > persistent env? Nice piece of detective work. Well done. > It's possible that one of the Titanium mods is also causing the failure > of AutoRunmode to work under mod_perl for me, but that's another issue. -- Ron Savage [EMAIL PROTECTED] http://savage.net.au/index.html ##### 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/ ## ## ## ################################################################