I finally managed to fix my problem, by accident.

In fact, I was using Mason v1.29.

I decided to go for Mason 1.31, which is using CGI as "args_method", by default for HTML::Mason::ApacheHandler, instead of "mod_perl" for version prior to v1.30.

And in fact, this solved the problem.

I can't really understand why, and what is the difference between these options ("mod_perl" VS "CGI", but at least, this did the job right.. I think there's a bug somewhere, when using "mod_perl".

So, I'll be using CGI for now.

Is there a performance penalty doing that? (especially when there are a lot of different POST or GET arguments in my request)? Are tere any other differences I should be aware about?

Thanks,

Lionel.

----- Original Message ----- From: "Lionel MARTIN" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, March 14, 2006 9:13 AM
Subject: Re: [Mason] When and where, in the Mason source code, is the $r->args hash generated (Purpose: fix a problem with request args disappearing)


Thanks for your reply.

Nevertheless, as stated in my previous email, $r->args always get the right request args string, while $m->request_args wrongly gets its arguments time to time.

So, I'm quite convinced that the problem is coming from Mason Code, not from Apache code.

I suppose that behind the scenes, Mason is processing $r->args to build $m->request_args, and I'd like to know where this happens (and when).

Thanks,

Lionel.

----- Original Message ----- From: "Patrick M. Jordan" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, March 14, 2006 9:02 AM
Subject: Re: [Mason] When and where, in the Mason source code, is the $r->args hash generated (Purpose: fix a problem with request args disappearing)



.--- On Tue, 14 Mar 2006, Lionel MARTIN wrote:
| Where, in the Mason source code, is the $r->args hash generated?
`---

Mason uses Apache::Request, which interfaces with Apache's deep downs
to fetch the data. All the magic happens there.

-- Patrick

--
.------ Patrick M. Jordan ------.  Random unused band name:
| Systems/Network Administrator |  DJ For The Love Of God, Montressor!
`----- Antistatic Matrix -------'



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to