Did you print an HTTP header before the redirect?
Don't do that.
In reply to Re: CGI redirection by tobyink in thread CGI redirection by 5plit_func