Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 09:22 AM
Gary Contois
Guest
 
Posts: n/a
Default 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@meditech.com


  #2  
Old July 19th, 2005, 09:22 AM
John Blessing
Guest
 
Posts: n/a
Default Re: NT4 vs W2K


"Gary Contois" <gcontois@meditech.com> wrote in message
news:OGhRJN%23nDHA.2536@tk2msftngp13.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@meditech.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


  #3  
Old July 19th, 2005, 09:22 AM
Mike
Guest
 
Posts: n/a
Default Re: NT4 vs W2K



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


Mike


"Gary Contois" <gcontois@meditech.com> wrote in message
news:OGhRJN%23nDHA.2536@tk2msftngp13.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@meditech.com
>
>[/color]


  #4  
Old July 19th, 2005, 09:22 AM
Peter Foti
Guest
 
Posts: n/a
Default Re: NT4 vs W2K

"Gary Contois" <gcontois@meditech.com> wrote in message
news:OGhRJN%23nDHA.2536@tk2msftngp13.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


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles