473,399 Members | 2,774 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

HTTP Header being displayed at top of HTML

After rebuilding our web server from NT 4.0 IIS 4.0 to Windows 2000
IIS 5.0, I'm constantly getting HTTP Headers posted to the top of the
HTML source (generated from ASP pages of course). This only seems to
happen upon hitting the browser's (IE 6.0) "back" button and not even
100% of the time when hitting the back button. Here's an example of
the source that is generated:

=================================================
FHTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Tue, 21 Oct 2003 15:02:31 GMT
Content-Length: 764
Content-Type: text/html
Cache-control: private

<HTML><BODY TOPMARGIN=0 LEFTMARGIN=0 MARGINHEIGHT=0 MARGINWIDTH=0
BACKGROUND='images/vertborder2.gif'><TABLE BORDER=0 CELLSPACING=0
CELLPADDING=0><TR><TD VALIGN=TOP><FONT NAME=ARIAL
SIZE=-1>&nbsp;&nbsp;<IMG SRC='images/first_off.gif' border=0><IMG
SRC='images/prev_off.gif' border=0><A
HREF=fs_hitlist.asp?sessionid=8E7C50133A0D4914B5BC BE293975B24E&page=2&appcode=ANJ1
target=_parent><IMG SRC='images/next_on.gif' border=0 ALT='Next Page
of Results'></A><A HREF=fs_hitlist.asp?sessionid=8E7C50133A0D4914B5BC BE293975B24E&page=5&appcode=ANJ1
target=_parent><IMG SRC='images/last_on.gif' border=0 ALT='Last Page
of Results'></A>&nbsp;&nbsp;Found 100 documents. Displaying 1 through
20.<BR><IMG SRC='images/horzborder2.gif'
border=0></FONT></TD></TABLE></body></html>
=================================================

I'm generating the pages in a frameset with response.write statements.
In trying to search for the answer, I ran across some suggestions to
use <%response.buffer=true%> at the top of the page, but that didn't
help.

If it helps, I can post one of the ASP pages that generates the HTTP
Header at the top of the page.

Andrew
Jul 19 '05 #1
1 1855
I get that a lot too. I thought it was a problem with the site I was using
as my home page.

It looks like an IE prroblem.

After hitting the back button, you get the source of the page rather than
the page rendered properly.

"Andrew Cox" <a7*******@sneakemail.com> wrote in message
news:c4**************************@posting.google.c om...
After rebuilding our web server from NT 4.0 IIS 4.0 to Windows 2000
IIS 5.0, I'm constantly getting HTTP Headers posted to the top of the
HTML source (generated from ASP pages of course). This only seems to
happen upon hitting the browser's (IE 6.0) "back" button and not even
100% of the time when hitting the back button. Here's an example of
the source that is generated:

=================================================
FHTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Tue, 21 Oct 2003 15:02:31 GMT
Content-Length: 764
Content-Type: text/html
Cache-control: private

<HTML><BODY TOPMARGIN=0 LEFTMARGIN=0 MARGINHEIGHT=0 MARGINWIDTH=0
BACKGROUND='images/vertborder2.gif'><TABLE BORDER=0 CELLSPACING=0
CELLPADDING=0><TR><TD VALIGN=TOP><FONT NAME=ARIAL
SIZE=-1>&nbsp;&nbsp;<IMG SRC='images/first_off.gif' border=0><IMG
SRC='images/prev_off.gif' border=0><A
HREF=fs_hitlist.asp?sessionid=8E7C50133A0D4914B5BC BE293975B24E&page=2&appcod
e=ANJ1 target=_parent><IMG SRC='images/next_on.gif' border=0 ALT='Next Page
of Results'></A><A HREF=fs_hitlist.asp?sessionid=8E7C50133A0D4914B5BC BE293975B24E&page=5&appcod
e=ANJ1 target=_parent><IMG SRC='images/last_on.gif' border=0 ALT='Last Page
of Results'></A>&nbsp;&nbsp;Found 100 documents. Displaying 1 through
20.<BR><IMG SRC='images/horzborder2.gif'
border=0></FONT></TD></TABLE></body></html>
=================================================

I'm generating the pages in a frameset with response.write statements.
In trying to search for the answer, I ran across some suggestions to
use <%response.buffer=true%> at the top of the page, but that didn't
help.

If it helps, I can post one of the ASP pages that generates the HTTP
Header at the top of the page.

Andrew

Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
by: Frank Thorstens | last post by:
Hi, i try to give my script headers so the output text would be downloaded in the client's browser and not displayed. But it doesn't work at all in my IE 6 and Opera. <?...
2
by: mike | last post by:
ok here's the problem: I have a page that displays a form for user to select individual fields and to specify their own criteria which is used to query a database and then create an excel...
7
by: Michael Foord | last post by:
#!/usr/bin/python -u # 15-09-04 # v1.0.0 # auth_example.py # A simple script manually demonstrating basic authentication. # Copyright Michael Foord # Free to use, modify and relicense. #...
8
by: turnit \(removethis\) | last post by:
I have a login form that uses the post method to carry the information to the next page. The form works just fine in ie6.0, but fails in mozilla and fails in ie5.2 on a mac. "HTTP/1.1 400 Bad...
30
by: Anon | last post by:
If Http headers specify the character encoding, what is the point of the Meta tag specifying it?
2
by: Dragan Kovac | last post by:
Hello everyone, I have a problem. I generated some kind of my own report (by building HTML file) and now I want to print it. Printing itself is not a problem, problem is with adding custom headers...
2
by: David | last post by:
I have a gridView that sometimes only shows the header and not the detail. Does anyone know how this can happen? Also, if I change the SelectCommand string using code do I need to use Databind()...
7
by: =?Utf-8?B?YzY3NjIyOA==?= | last post by:
Hi all, I am trying to set this up using asp code and IIS configuration. But it seems not working. Here it is the way I am doing. In IIS I set up a virtual directory with secure communication, I...
2
by: JRough | last post by:
I have this code that switches templates depending on if the user fills in a form with a request. The request asks for the $mark & $number. If that request gets input then it displays a list...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.