Grokbase
Topics Posts Groups | in
x
[ help ]

Re: [Mason] MasonX::Request::WithApacheSession and FastCGI

View PostFlat  Thread  Threaded | < Prev - Next >
S. Kiehn Re: [Mason] MasonX::Request::WithApacheSession and FastCGI
| +1 vote
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Thanks Hans for the response.  I made the patch, now I get new errors:

'Can't call method "can" on an undefined value at /usr/share/perl5/Apache/Session/Wrapper.pm line 650.'

I looked at the code block in question in Apache::Session::Wrapper and just for kicks I commented out the following lines:

645         my $header_object = $self->{header_object};
646         for my $meth (@HeaderMethods)
647         {
648             if ( $header_object->can($meth) )
649             {
650 #               if ( $header_object->$meth->can('add') )
651 #               {
652 # $header_object->$meth->add( 'Set-Cookie' => $cookie );
653 #               }
654 #               else
655 #               {
656                    $header_object->$meth( 'Set-Cookie' => $cookie );
657 #               }
658                last;
659            }
660        }

After doing this, no more errors and I had cookies with FastCGI and MasonX::R:MAS (it worked with mod_perl too). Since understanding the workings of perl modules is more than my current level of perl knowledge, I have no idea what implications those changes had on other things. However, could it be possible that a bug fix in one module turned up a problem in another?

Scott Kiehn






    
---------------------------------
Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________
Mason-users mailing list
[email protected: Mason-...@lists.sourceforge.net]
https://lists.sourceforge.net/lists/listinfo/mason-users

Thread : [Mason] MasonX::Request::WithApacheSession and FastCGI
1)
S. Kiehn Cannot seem to get this to work together (or with CGI). Here is a portion of my handler script: if...
2)
Hans Dieter Pearcey I believe this is a bug in MasonX::Request::WithApacheSession. The attached patch fixes it....
paperclip
3)
S. Kiehn Researching a little more and re-reading my own post, I now see that the CGI::Fast object is being...
4)
S. Kiehn Thanks Hans for the response. I made the patch, now I get new errors: 'Can't call method "can" on...
5)
Hans Dieter Pearcey Bug in ASW. It's fixed by the attached patch. don't remember any of the context anymore.) hdp....
paperclip
spacer
View PostFlat  Thread  Threaded | < Prev - Next >