On Wed, 2004-01-14 at 10:19, James Edward Gray II wrote:
> 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

the real script will not use sleep, was just a test to emulate
some work being done.
-- 
jdavis <[EMAIL PROTECTED]>


-- 
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