James <
hsle...@yahoo.com> writes:
> Instead of the following way (get method for the URL),
>
> print $cgi-> redirect(
> -uri => "some-URL?param=$param",
> ...
> );
>
> how can I use post method? I don't want to reveal "param=$param".
That's not directly possible as 'methods' are used by the client and 'a
redirect' is part of a reply from the server. You can hide the actual
parameters in other ways, eg, you could encrypt the actual query string
using a secret key only known to the server and instruct the client to
pass the encrypted string back to the server using some generic
parameter name. Prior to processing, the server would decrypt what it
got from the client and thus regain the actual parameters.