On Mon, 30 Oct 2006, Jason Stewart wrote:
> When I tried to use Apache::Session with Mason I got the following
> error with apache2 on my ubuntu-6.06 box:
>
> [Tue Oct 24 11:10:55 2006] [error] [client 127.0.0.1] The
> 'param_object' parameter ("Apache2::RequestRec=SCALAR(0x102d1328)") to
> Apache::Session::Wrapper->new() does not have the method:
> 'param'\n\nStack:\n
> [/usr/share/perl5/HTML/Mason/ApacheHandler.pm:889]\n
> [/usr/share/perl5/HTML/Mason/ApacheHandler.pm:829]\n [(eval 32):8]\n
> [-e:0]\n
>
> Has the code for supporting mod_perl2 not been rolled into the
> official modules? Or should I be installing:
First of all, Apache::Session::Wrapper is not a part of Mason or
Mason-related at all. Are you using MasonX::Request::WithApacheSession?
The latter module needs a maintainer, and AFAIK is not quite working with
mod_perl2. However, Apache::Session::Wrapper should work fine under
mod_perl2, though you'd need to use Apache2::Request or CGI.pm with it.
> * MasonX-Request-WithApache2Session
I have no idea how well this works, but it may solve your problem.
> * MasonX-Apache2Handler
This is obsolete, and Mason now supports both mod_perl 1 & 2 natively.
-dave
/*===================================================
VegGuide.Org www.BookIRead.com
Your guide to all that's veg. My book blog
===================================================*/
-------------------------------------------------------------------------
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]
https://lists.sourceforge.net/lists/listinfo/mason-users