in reply to Location doesn't work on MAC

Do you have a code sample you could show?

Generally, it should just be:
print qq#Location: $newlocation\n\n#; exit(0);
and that should work. I've never had a problem handing that off to people using Macs...

The other thing you could try is sending back a HTML document with a meta-refresh tag, and a link in case the refresh doesn't occur.

Replies are listed 'Best First'.
Re: Re: Location doesn't work on MAC
by merlyn (Sage) on Apr 13, 2001 at 23:01 UTC
    The other thing you could try is sending back a HTML document with a meta-refresh tag, and a link in case the refresh doesn't occur.
    No. Please don't. It kills the use of my "back" button, because I press back, it goes to the meta-refresh doc, and then refreshes forward again.

    If you can at all generate headers, the headers method is much preferred.

    -- Randal L. Schwartz, Perl hacker

      While I agree with merlyn (i.e. don't use the meta-refresh tag), at least specify that the page is to redirect after 5 seconds. This should give plenty of time to hit the back button twice. I don't remember the specific syntax for this but i believe the tag would look like this:
      <meta http-equiv="Refresh" content="5;http://url-goes-here">