Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > asp bufferring behaves differently on iis 6 servers, code or confi

Thread Tools

asp bufferring behaves differently on iis 6 servers, code or confi

Posts: n/a
Hi All,

This may be an old question, but there's little useful references online
that I've been able to find.

I want the following code to display bit by bit, not send all at once to the
client (IE).

The following code sample works as intended on all NT4 Wkstation PWS and on
*one* IIS6 W2K3 server. On all other W2K3 servers it does not, it waits and
sends the whole page at once.

BTW same effect if bufferring is true OR false!

What might cause the difference between 2 IIS 6 servers in this case? I'm
looking to IIS config rather than code ... but i'm open to suggestions there

With Thanks,

---- CODE SAMPLE ---
<% Response.Buffer = true %>


Sub delay(n)
Dim endTime

endTime = dateadd("s", n, Now())
do while Now() < endTime
End Sub


<script language="javascript">
document.writeln ("js:header test<BR>");



Dim i

Response.Write "<HR>" & Now() & "<HR>" & vbCrLf

for i = 1 to 5
Response.Write "<script language=""javascript"">" & vbCrLf
Response.Write "document.writeln (""js:test " & CStr(i) & "<BR>"");" &
Response.Write "</script>" & vbCrLf

delay (2)

Response.Write "<HR>" & Now() & " All Done.<HR>"



<% Response.Flush %>
---- CODE END ----

Reply With Quote

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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
OleDbDataAdapter created in code behaves differently from one created by wizard. tom c ASP .Net 6 09-06-2006 04:46 PM
FORMS NOT SUBMITTING DUE, IIS CRASH: appSettings KEY in web.confi =?Utf-8?B?RHIuIFBhdWwgQ2Flc2FyIC0gQ291bGxCeXRlIChVSykgTGltaXRlZA==?= ASP .Net 4 11-04-2005 02:02 AM
code behaves differently on different servers CreepieDeCrapper Javascript 5 04-07-2005 06:07 PM
ASP.NET behaves differently when loading our assembly Simon Kennedy ASP .Net 0 01-30-2004 06:02 AM
same web page behaves differently on servers Do ASP .Net 1 11-16-2003 08:11 AM