On Jan 14, 2004, at 11:07 AM, jdavis wrote:

Thanks all who replied. From your post i gather that i need
to handle my redirect client side....so.....

#!/usr/bin/perl
use CGI qw(:standard);
print header;

$| = 1;

print "hi\n";
sleep 3; # i would actually do a lot of other stuff here

print<<EOF
<script language="javascript">
<!--

location.replace("http://www.yahoo.com";);

-->
</script>

EOF

If you're going with something like that, use a META "refresh" tag, instead of having the script sleep.


James


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




Reply via email to