ColonelPanic has asked for the wisdom of the Perl Monks concerning the following question:
Unfortunately, I can't use this approach, because the final CGI needs a cookie set on the client side. So, I would like to make something like this work:use LWP::UserAgent; use HTTP::Request::Common; use CGI; use strict; my $agent = LWP::UserAgent->new; my $data = $agent->request(POST 'www.somewhere.com', [%original_CGI_Pa +rams]); #then print the data with CGI
But, this doesn't work. Is there any way I can have the browser redierct to a POST like this?print $cgi_query->redirect(POST 'www.somewhere.com', [%params]);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: POST redirect
by blakem (Monsignor) on Aug 25, 2001 at 00:03 UTC | |
by ColonelPanic (Friar) on Aug 25, 2001 at 00:13 UTC | |
|
Re: POST redirect
by shotgunefx (Parson) on Aug 25, 2001 at 01:03 UTC | |
|
Re: POST redirect
by LiTinOveWeedle (Scribe) on May 23, 2002 at 11:33 UTC | |
|
Re: POST redirect
by synapse0 (Pilgrim) on Aug 25, 2001 at 16:14 UTC |