HTTP Header being displayed at top of HTML

Discussion in 'ASP General' started by Andrew Cox, Oct 21, 2003.

  1. Andrew Cox

    Andrew Cox Guest

    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=8E7C50133A0D4914B5BCBE293975B24E&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=8E7C50133A0D4914B5BCBE293975B24E&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
     
    Andrew Cox, Oct 21, 2003
    #1
    1. Advertising

  2. Andrew Cox

    Jeff Clark Guest

    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" <> wrote in message
    news:...
    > 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=8E7C50133A0D4914B5BCBE293975B24E&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=8E7C50133A0D4914B5BCBE293975B24E&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
     
    Jeff Clark, Oct 21, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. clintonG
    Replies:
    0
    Views:
    288
    clintonG
    Jun 25, 2004
  2. Scott Allen

    Re: Exception not being displayed

    Scott Allen, Sep 21, 2004, in forum: ASP .Net
    Replies:
    5
    Views:
    402
    Scott Allen
    Sep 22, 2004
  3. boney
    Replies:
    1
    Views:
    568
  4. Replies:
    2
    Views:
    369
    Martin Honnen
    Aug 30, 2008
  5. mlt
    Replies:
    2
    Views:
    847
    Jean-Marc Bourguet
    Jan 31, 2009
Loading...

Share This Page