in reply to Re: General Guidence
in thread General Guidence

Thanks.

For the redirection, I was hoping that there would be some sort of operator that would redirect the user, instead of having to load a blank html page which would redirect the user.

Replies are listed 'Best First'.
Re: Re: Re: General Guidence
by dragonchild (Archbishop) on Jul 17, 2001 at 00:40 UTC
    Think about it this way - the browser has to get something to know to do something. That something has to be HTML, JAVA, or something similar. Generally, what people do is create a page containing "You are being redirected to XYZ URL. This should take place in 5 seconds." That way, they know they're being redirected.

    Anything else beyond that, like what happens at Yahoo or whatever, needs to be done at the HTTP server level, which is out of my league.

      Anything else beyond that, like what happens at Yahoo or whatever, needs to be done at the HTTP server level, which is out of my league.
      I don't believe this is true. Sending HTTP headers is very simple, especially using the CGI module. It's also more reliable than HTML meta tags.
      I highly recommend you browse the HTTP spec at HTTP SPEC. It's a bit dry, but it will teach you volumes about how CGI works. Then, the redirect method of CGI.pm will make perfect sense.
Re: Re: Re: General Guidence
by AidanLee (Chaplain) on Jul 17, 2001 at 08:18 UTC

    Set the "Location" header in the HTTP headers:

    Location: http//www.redirect-targetsite.com/;