On 30 Oct 2006, at 09:23, Jason Stewart wrote:
> Hi,
>
> I'm really confused and hope someone can shed some light on things.
>
> 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:
>
> * MasonX-Request-WithApache2Session
> * MasonX-Apache2Handler
>
> Your kind help is most appreciated, jas.
Hello,
I think I encountered the same issue, but never completely resolved
it :(; Ended up rolling my own with:
Apache::Session::Wrapper and Apache2::Cookie.
It's mod_perl2 related as $r is Apache2::RequestRec rather than
Apache2::Request (which is kind of confusing).
I think if you use Apache2::Request or something like $r = new
Apache2::Request($r) you can get the request object back - maybe
that'll help?
Let me know if you find a better solution.
Thanks
Robin...
-------------------------------------------------------------------------
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