Hi Gareth,

Thanks for this!  No, there was no error when I used this, but it helps 
to know that this might go wrong in the future...  I'll continue trying 
to figure out the reason for that strange "End of file found" 
message...  I forgot to mention that when this message comes up, it 
appears alone.  All the other print's that I had on the page that I used 
for testing are not shown.

Thanks again!

Ray


Gareth Kirwan wrote:
>> From: Shane McCarron 
>> [Wh]y mess with the request object at all?  Here is a fragment 
>> that works whether you are in CGI or mod_perl or mod_perl1.99 
>> or mod_perl 2 modes - obviously you would want to put in some 
>> error checking for your environment:
>>
>>     
> http://search.cpan.org/~drolsky/HTML-Mason-1.35/lib/HTML/Mason/Request.pm
>
> "cgi_object
>
>     Returns the CGI object used to parse any CGI parameters submitted to the
> component, assuming that you have not changed the default value of the
> ApacheHandler args_method parameter. If you are using the 'mod_perl' args
> method, then calling this method is a fatal error. See the ApacheHandler and
> CGIHandler documentation for more details."
>
> I haven't tried it, but I would imagine it either does what the manual says,
> or will do at some point in the future.
>
> G
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to