Re: clearing a parameter using Apache::Request
[prev]
[thread]
[next]
[Date index for 2005/01/06]
Yeah ! Just do :
my $cgi = CGI->new();
-Pratik
On Thu, 6 Jan 2005 06:07:52 -0800 (PST), greger@xxxxxxxxxxxxxxxxx.xxx
<greger@xxxxxxxxxxxxxxxxx.xxx> wrote:
> > 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
> >
>
>
--
http://pratik.syslock.org