PDA

View Full Version : need help with an error


gcapp
11-26-2002, 11:05 PM
Can some explain to me in simple terms what this error is:

Response object error 'ASP 0156 : 80004005'

Header Error

The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content.


This error is occuring when i try to send an email form.

rcreyes
11-27-2002, 12:10 AM
You will get this error when you are trying to redirect (using response.redirect strURL) when in your script you have started to write to the client's page, i.e.

<%

Response.Write "Hello"
Response.Redirect "http://yahoo.com"

%>

The above code will cause the error, since you had begun writing out to the client's page.


Thanks,
Ray