View Complete Thread | FoxWeb Forum Home
Search:
Date:    Msg ID:   
From:    Thread:   
Subject:   
>>What you need in this case is an HTTP redirect, via the Response.Redirect method:
Response.Redirect('/cgi-bin/myFile.cgi')<<
 
I tried the above, but now I get the error message "Cannot redirect after output has been sent to the browser".  This is odd, because the redirect code occurs between %% tags before the <html> and <body> tags!
Any ideas how to get around this problem?
 
The redirect code only occurs once the form has been posted to itself (for posted data validation first).  Could this be anything to do with the problem?
 
Any help would be appreciated.
 
Alan