473,785 Members | 2,443 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

BS
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
too!

With Thanks,
BS

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

Sub delay(n)
Dim endTime

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

<html>
<head>
<script language="javas cript">
document.writel n ("js:header test<BR>");
</script>
</head>
<body>
<%

Response.Flush

Dim i

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

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

delay (2)
Response.Flush
next

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

%>
</body>
</html>

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

Jul 19 '05 #1
0 1453

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
1873
by: Douglas F. | last post by:
I have a download.php that handles some form posts from a html page. It attempts to use Header(Location: ......) to download a file. It works when out of ssl, but when under ssl, I get the 'Headers already sent' error. The ob_start() and ob_end_flush() calls are being ignored. I theorize that the Host's SSL package has to allow buffering, or maybe it is the Server? any suggestions or resolutions will certainly be appreciated on this.
5
4117
by: Scott Matthews | last post by:
I've recently come upon an odd Javascript (and/or browser) behavior, and after hunting around the Web I still can't seem to find an answer. Specifically, I have noticed that the Javascript encode() function behaves differently if a codepage has been set. For example: <script> document.write(escape('Ôèëìè')); (note: that should be five accented characters)
3
1985
by: Faith | last post by:
Hi all, I have a serious problem that I am not sure whether its a bug in the Microsoft Visual C++ or something that I am doing wrong. The problem is (as noted in the Subject) is that my program behaves differently when I insert a break point in a certain function (or I step into it) I get different results. Its the same input and the same code!! I do not think that adding a source code here will help since its fairly a long program, but I...
5
2205
by: CreepieDeCrapper | last post by:
i have a simple JS window.open function that i'm calling and it works great here: http://demo.creationsite.com/GLBC/www/ (click on "virtual tour" in the yellow text link) - no status bar - proper title in title bar (same as main window)
1
1224
by: Do | last post by:
Hi, Has anyone every had two NET Framework 1.1 Servers that both run the same web application, but the behavior of the forms is different? My form validation behaves differently on two servers, and they have the exact same version of my ASP.net web form. Anyone?
15
2469
by: Joe Weinstein | last post by:
Hi. Below is a simple JDBC program to insert and extract a numerical value. When ResultSet.getDouble() is called, the same program produces different output on solaris than it does on Linux. I would be grateful for any discussion of this! thanks, Joe Weinstein at BEA Systems Results on Linux Box -----------------------------------------------------------------------
1
1567
by: rchen8080 | last post by:
I found that the php script behaves differently when it run in command line rather than runing over web server. Program includes the code like <?php function send_email($from_address, $to_address, $bcc_address, $subject, $msg, $attachments,$reminder_id) { $headers = ...;
17
2684
by: yawnmoth | last post by:
http://www.frostjedi.com/terra/scripts/demo/this-alert.html http://www.frostjedi.com/terra/scripts/demo/this-alert2.html Why, when you click in the black box, do the alert boxes say different things? Shouldn't they say the same thing?
0
1026
by: souvickm | last post by:
I have developed an exe to cut image files from a dumped folder and paste them in some other folder(categorized into subfolders) on a different machine. I have also coded to generate a text file at the end of the operation to provide a kind of report. The exe also reports the error no. & procedure name through the same text file (when it encounters any error/exception) Now, the exe performs all the reqd tasks properly when run but when I try to...
0
10357
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10162
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9959
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8988
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6744
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5396
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5528
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2893
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.