NT4 vs W2K

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gary Contois

    NT4 vs W2K

    I noticed something recently. When running an ASP on my NT4 machine (IIS?)
    my asps load in a manner which displays the page information as it loads
    line by line.
    I then moved this page to my new W2K machine and notice that the info on the
    asp now only appears after the entire page is done processing.

    While in the end they may both be taking the same amount of time to
    complete, I think I like the old way better. At least this way you could be
    giving a status of it's process.

    Any one know of any way to make it work like the old way or is it something
    I just have to live with?

    Thanks,
    Gary
    gcontois@medite ch.com


  • John Blessing

    #2
    Re: NT4 vs W2K


    "Gary Contois" <gcontois@medit ech.com> wrote in message
    news:OGhRJN%23n DHA.2536@tk2msf tngp13.phx.gbl. ..[color=blue]
    > I noticed something recently. When running an ASP on my NT4 machine (IIS?)
    > my asps load in a manner which displays the page information as it loads
    > line by line.
    > I then moved this page to my new W2K machine and notice that the info on[/color]
    the[color=blue]
    > asp now only appears after the entire page is done processing.
    >
    > While in the end they may both be taking the same amount of time to
    > complete, I think I like the old way better. At least this way you could[/color]
    be[color=blue]
    > giving a status of it's process.
    >
    > Any one know of any way to make it work like the old way or is it[/color]
    something[color=blue]
    > I just have to live with?
    >
    > Thanks,
    > Gary
    > gcontois@medite ch.com
    >[/color]

    In IIS manager, select the website, Properties, Home Directory tabpage,
    Configuration button, Options tab, uncheck "enable buffering". From the
    help:

    Enable Buffering

    Select this check box to buffer output to the browser.

    When this option is selected, all output generated by an ASP page is
    collected before it is sent to the browser. When this check box is cleared,
    output is returned to the browser as the page is processed. Buffering output
    enables you to set HTTP headers from anywhere in an ASP script. You can
    override this option in a script by using the Response.Buffer method.

    --
    John Blessing

    http://www.LbeHelpdesk.com - Help Desk software priced to suit all
    businesses
    http://www.free-helpdesk.com - Completely free help desk software !
    http://www.lbetoolbox.com - Remove Duplicates from MS Outlook


    Comment

    • Mike

      #3
      Re: NT4 vs W2K



      See this http://www.aspfaq.com/show.asp?id=2262


      Mike


      "Gary Contois" <gcontois@medit ech.com> wrote in message
      news:OGhRJN%23n DHA.2536@tk2msf tngp13.phx.gbl. ..[color=blue]
      > I noticed something recently. When running an ASP on my NT4 machine (IIS?)
      > my asps load in a manner which displays the page information as it loads
      > line by line.
      > I then moved this page to my new W2K machine and notice that the info on[/color]
      the[color=blue]
      > asp now only appears after the entire page is done processing.
      >
      > While in the end they may both be taking the same amount of time to
      > complete, I think I like the old way better. At least this way you could[/color]
      be[color=blue]
      > giving a status of it's process.
      >
      > Any one know of any way to make it work like the old way or is it[/color]
      something[color=blue]
      > I just have to live with?
      >
      > Thanks,
      > Gary
      > gcontois@medite ch.com
      >
      >[/color]


      Comment

      • Peter Foti

        #4
        Re: NT4 vs W2K

        "Gary Contois" <gcontois@medit ech.com> wrote in message
        news:OGhRJN%23n DHA.2536@tk2msf tngp13.phx.gbl. ..[color=blue]
        > I noticed something recently. When running an ASP on my NT4 machine (IIS?)
        > my asps load in a manner which displays the page information as it loads
        > line by line.
        > I then moved this page to my new W2K machine and notice that the info on[/color]
        the[color=blue]
        > asp now only appears after the entire page is done processing.
        >
        > While in the end they may both be taking the same amount of time to
        > complete, I think I like the old way better. At least this way you could[/color]
        be[color=blue]
        > giving a status of it's process.
        >
        > Any one know of any way to make it work like the old way or is it[/color]
        something[color=blue]
        > I just have to live with?[/color]

        I think that NT4 has buffering turned off by default, and W2K has buffering
        turned on by default. You can change it either way by including this:

        <%
        Response.Buffer = False
        %>

        This statement must come before any output has been sent to the browser, so
        somewhere near the top of your page.

        Note that Buffering a page will actually result in the entire page being
        displayed slightly faster.

        Regards,
        Peter Foti


        Comment

        Working...