'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 Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users