in reply to Re^4: Submitting queries to server
in thread Submitting queries to server

The parent meant the HTTP header, not the HTML one. That's where the redirection command is located. You might have seen redirections in the HTML header in HTTP-EQUIV tags on other sites, but HTTP-EQUIV means "should be in the HTTP header".

If you still have problems, show us the HTTP header.

Replies are listed 'Best First'.
Re^6: Submitting queries to server
by Anonymous Monk on Sep 16, 2005 at 12:12 UTC
    Sorry, what should I do to show you HTTP header? Actually I'm new to this.
      # The line you already have, but I renamed the var. my $response = $ua->request($req); #print $response->content(); # Prints the content. print $response->as_string(); # Prints the header and the content.
        I got it, that is:
        HTTP/1.1 200 OK Pragma: no-cache Pragma: no-cache Server: Apache/1.3.26 (Unix) Debian GNU/Linux Content-Type: text/html Expires: 0 Client-Date:17 Sep 2005..... Client-Peer:xxxxxxxxxxx Client-Response-Num: 1 Title:xxxxxxxxx
        Is there any thing wrong so I can't do redirection?