HTTP Header being displayed at top of HTML

Ask a Question related to ASP, Design and Development.

  1. #1

    Default 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
    Andrew Cox Guest

  2. Similar Questions and Discussions

    1. Html newsletters displayed in Email
      This seems like an easy topic but it is not to be found in these forums. I contantly get emails that display an html page when opened. They are...
    2. Can datagrid header text displayed more than one rows
      Hello every one: I am facing a problem about header text of datagrid. Because some of the header text is long, about 30+ letter, and our cutomers...
    3. how can i get the http header exactly as sent by UA ?
      .... no $_SERVER, $_COOKIE or $_POST stuff, but the string just "as is". please i need to know it. Thanks -- "It's not right. It's not even...
    4. #10877 [Com]: HTTP 500 Error and the page cannot be displayed
      ID: 10877 Comment by: lmagic at net2000 dot com dot au Reported By: timothy_tang_tw at hotmail dot com Status: ...
    5. In IE 6 only HTML listboxes are displayed
      Try asking in an IE group. This group is for programming ASP pages. Ray at work "Daniel" <daniel_krause@web.de> wrote in message...
  3. #2

    Default Re: HTTP Header being displayed at top of HTML

    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" <a7t2fz001@sneakemail.com> wrote in message
    news:c40fc812.0310210721.35c6ed27@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

    Jeff Clark Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139