Re: clearing a parameter using Apache::Request
[prev]
[thread]
[next]
[Date index for 2005/01/06]
Hi Sean !
You can use "my $cgi = CGI->new($r);" in your request handler to get
the CGI object.
Thanks,
Pratik
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
 |
 |
Re: clearing a parameter using Apache::Request
Pratik 13:48 on 06 Jan 2005
|