On Jan 22, 1:31 pm, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
> Hi,
> Hopefully this appropriate question for this group.  I am trying to
> redirect to a website:
>
> print $query->redirect(-location=>test.cgi?ID=$value", -
> method=>'GET');
>
> Unfortunately the $value never gets passed and I end up with test.cgi?
> ID=  .
>
> Thanks,
> J

http://search.cpan.org/~lds/CGI.pm-3.33/CGI.pm#GENERATING_A_REDIRECTION_HEADER

quoted from the cpan doc:
"You should always use full URLs (including the http: or ftp: part) in
redirection requests. Relative URLs will not work correctly."


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to