|
-
Apr 30th, 2001, 07:25 PM
#1
Thread Starter
Lively Member
HTTP headers
I don't understand this error:
Response object error 'ASP 0156 : 80004005'
Header Error
/yadayada/Default.asp, line 8
The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content.
And the code of the asp is:
<HTML>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<HEAD>
<TITLE>
</TITLE>
</HEAD>
<BODY>
<% Response.Redirect "top.htm" %>
</BODY>
</HTML>
What's wrong? It worked on my home personal server (NT5) but doesn't work in school's server (NT4).
-
Apr 30th, 2001, 08:37 PM
#2
Lively Member
The problem is with your response.Redirect. At the very top of your page add the following:
Code:
<%Response.Buffer=TRUE%>
<HTML>
<BODY>...
Response.Buffer should take care of the problem...
-
May 1st, 2001, 10:28 AM
#3
Frenzied Member
If that is all the code that the ASP page has, don't even bother with the HTML tags... just put the redirect at the top of the page.
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|