View Full Version : WHat is "http headers"?

09-13-2005, 06:44 AM
The redirect page is giving error.

UPDATE insertanswer SET passages = "God created" WHERE [id] = 1;
UPDATE insertanswer SET passages = "there be ligh" WHERE [id] = 3;

Response object error 'ASP 0156 : 80004005'

Header Error

/wheelofgod/pageing4.asp, line 76

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

09-13-2005, 12:19 PM
What code is on line 76? One of those two SQL statements? Do they not have any quotes around them or anything? What are you trying to do with them? I think it'll probably be useful if you posted the rest of your ASP.

09-14-2005, 04:36 AM
And the rule is basically that you can't write to the page before doing a Response.Redirect.