Re: clearing a parameter using Apache::Request

[prev] [thread] [next] [Date index for 2005/01/06]

From: greger
Subject: Re: clearing a parameter using Apache::Request
Date: 14:07 on 06 Jan 2005
> Hi Sean !
>
> You can use "my $cgi = CGI->new($r);" in your request handler to get
> the CGI object.
>
> Thanks,
> Pratik
Hi all,
I'd also be interested to know if it is possible to get the params, alter
them, from mod_perl without using the request object method...
anyone?
/Greger
--
www.gh-webinteractive.com
>
>
> On Thu, 6 Jan 2005 07:42:12 -0500, Sean Davis <sdavis2@xxxx.xxx.xxx>
> wrote:
>> I have a script that can submit back to itself.  If the script is being
>> entered from somewhere else, then the "submitted" form parameter is not
>> present and the form is presented.  If the parameter "submitted" is
>> present, then I want to process the form.  However, if the processing
>> "fails", I want to re-run the script, but only after deleting the
>> "submitted" parameter.  In the CGI world, one simply does
>> $cgi->delete('submitted').  It seems that Apache::Request does not have
>> this method.  Is there a simple way to either add or delete parameters
>> to the request?
>>
>> Thanks,
>> Sean
>>
>>
>
>
> --
> http://pratik.syslock.org
>


clearing a parameter using Apache::Request
Sean Davis 12:42 on 06 Jan 2005

Re: clearing a parameter using Apache::Request
greger 14:07 on 06 Jan 2005

Re: clearing a parameter using Apache::Request
Tom Schindl 12:25 on 07 Jan 2005

Generated at 12:15 on 16 Jan 2005 by mariachi v0.52