On Mon, 8 Oct 2001, _brian_d_foy wrote: > > print "Location: $url\n\n"; > > > > This must be the only header sent to the browser. It won't work if http > > headers have already been sent. > > that's a bit misleading. as with any CGI script, there is only > one header. in a redirection, a Location: field is in the header > but it is not the only field in that header, necessarily. it does > not even imply the lack of a message body. :)
What I am saying is, if you have CGI.pm's header() first, then try to do the redirect(), the redirect won't work. The redirect() is sending a header there. -- Brett http://www.chapelperilous.net/ ------------------------------------------------------------------------ Is it possible that software is not like anything else, that it is meant to be discarded: that the whole point is to always see it as a soap bubble? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]