Re: cgi
- Posted by Robert Szalay <robsz1 at netzero.net> Nov 10, 2002
- 476 views
I am able to redirect just fine with this(and only this): puts(1, "Location: http://www.google.com/\r\n\r\n") ----- Original Message ----- From: <irv at take.maxleft.com> Subject: Re: cgi On Sunday 10 November 2002 05:52 pm, you wrote: > > I think i know what the problem is (but not sure yet) > > Try more along the lines of this: > > puts(1,"Content-Type: text/html\r\n") > puts(1,"Location: http://www.google.com/\r\n\r\n") If you don't output "Status: 302\n", you certainly won't get a redirect. The Content-Type line is unnecessary, but didn't cause any problem when I added it. Regards, Irv ==^^=============================================================== This email was sent to: robsz1 at netzero.net EASY UNSUBSCRIBE click here: http://topica.com/u/?b1dd66.b3fcPV.cm9ic3ox Or send an email to: EUforum-unsubscribe at topica.com T O P I C A -- Register now to manage your mail! http://www.topica.com/partner/tag02/register ==^^=============================================================== --------------------------------------------- Introducing NetZero Long Distance 1st month Free! Sign up today at: www.netzerolongdistance.com