473,748 Members | 2,528 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

flush not working in IE

OK - let's get the IE bashing out of the way...
<space provided to bash IE>

</space>

On to the problem:

I have a query that I'm running on a test server that takes awhile to
complete. I would like to have it output the data one row at a time, as the
query is processed.

To this end, I have basically the loop:

while ($row=mysql_fet ch_row($result) ) {
// output one row of a table
flush();
}

I have also tried ob_flush(), to no avail, and ob_implicit_flu sh() as well.

This works fine in Firefox, but not IE. I realize this is browser-related,
but I'm wondering if there is any workaround?

One thought just occurred to me: might it be because I'm outputting a table?
Is IE wafting for the table to close before accepting the flush?

Thanks!

--
Tony Garcia
Web Right! Development
to*****@webrigh tdevelopment.SP AM.com
Jul 17 '05 #1
4 2847
*** Tony wrote/escribió (Thu, 23 Jun 2005 16:03:42 -0700):
This works fine in Firefox, but not IE. I realize this is browser-related,
but I'm wondering if there is any workaround?

One thought just occurred to me: might it be because I'm outputting a table?


In my experience the two most frequent causes are:

* Output is being compressed (for instance, using Apache mod_deflate)
* Output includes a large table

You can diagnose this last possibility checking source code (View->
Source). If code is there but it's not rendered yet, gotcha!
--
-- Álvaro G. Vicario - Burgos, Spain
-- http://bits.demogracia.com - Mi sitio sobre programación web
-- Don't e-mail me your questions, post them to the group
--
Jul 17 '05 #2
Alvaro G Vicario wrote:
*** Tony wrote/escribió (Thu, 23 Jun 2005 16:03:42 -0700):
This works fine in Firefox, but not IE. I realize this is
browser-related, but I'm wondering if there is any workaround?

One thought just occurred to me: might it be because I'm outputting
a table?
In my experience the two most frequent causes are:

* Output is being compressed (for instance, using Apache mod_deflate)

Not the case
* Output includes a large table


This is the case.

What I want to do is have the table display one row at a time. Firefox
appears to do this, IE doesn't. What I'm wondering is if there is a fix.

--
Tony Garcia
Web Right! Development
to*****@webrigh tdevelopment.SP AM.com
Jul 17 '05 #3
*** Tony wrote/escribió (Fri, 24 Jun 2005 09:50:25 -0700):
What I want to do is have the table display one row at a time. Firefox
appears to do this, IE doesn't. What I'm wondering is if there is a fix.


Since your users won't stop using IE, you'll have to remove the huge table.
--
-- Álvaro G. Vicario - Burgos, Spain
-- http://bits.demogracia.com - Mi sitio sobre programación web
-- Don't e-mail me your questions, post them to the group
--
Jul 17 '05 #4
Alvaro G Vicario wrote:
*** Tony wrote/escribió (Fri, 24 Jun 2005 09:50:25 -0700):
What I want to do is have the table display one row at a time.
Firefox appears to do this, IE doesn't. What I'm wondering is if
there is a fix.


Since your users won't stop using IE, you'll have to remove the huge
table.


Gee, thankx...

--
Tony Garcia
Web Right! Development
Jul 17 '05 #5

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

Similar topics

1
2549
by: Yang Li Ke | last post by:
Hey guys! I got a list of 300 urls which I want to check for a reciprocal link back to my site. I use this: function testing_recip($url, $recip) { @$text = implode("", file($url)); while (eregi("*(href)*=*(+)", $text, $regs)) { $regs = ereg_replace("\"", "", $regs); $regs = ereg_replace("'", "", $regs);
7
7004
by: Jon Spivey | last post by:
Experimenting with response.flush() but can't seem to get it to work. This code <% response.write "<p>started</p>" response.flush() for i = 1 to 10000000 i = i +1 next response.write "<p>ended</p>" %>
1
3806
by: Daniel | last post by:
System.IO.StreamWriter Close or Flush method to shut down the computer in such a way that just part of the file is written? or an empty file is written? Also if the Close or Flush is to a streamwriter writing to a network share, is it possible for the network to go down in such a way that the tartet file is only partialy written? or are there some kind of check sums to prevent this.
1
36734
by: DD | last post by:
Windows XP Home Edition There are methods for flushing the output for a lot of things, but I can't find any method to flush Console.Write(). Alan
5
2505
by: Luiz Vianna | last post by:
Guys, I need to send some info to my client while I'm processing some stuff. The flow will be something like : -process -response -process -response .... I imagine to use response.flush (as I did on ASP) but it does not work. See my test code, after sending 2 lines on response, I'm simulating a processing time before sending other 2 lines.
0
1184
by: Matthias Straka | last post by:
Hi! I'm working on a website with an IHttpHandler that listens to changes ina database and sends some text to the client. The client is always connected to the handler, this way I can use a push method. Every time a text is to be sent I flush the buffer. The problem is, that there seems to be a minimum size the buffer has to have before asp.net really flushes the buffer and sends the data. As a workaround I insert a few 100...
1
5485
by: nitroamos | last post by:
i'm working on improving the IO for the software project i'm working on to do two extra things. first, i'm going to add HDF5 functionality, and second, add the ability to write binary output. the software is computational science where a lot of stuff is going to be calculated and written to a file. e.g. could be up to gigabytes of data. my question has to do with the latter -- and how often i need to call "flush" on the stream. what I...
0
4195
by: jose.mendez22 | last post by:
I'm trying to fire a pop-up window before I execute a lengthy stored procedure so I may utilize this window as a status window on number of records executed. After my response.write statements which include the javascript I call the flush mehtod, which seems is ignored? However when I mimic the same process using a loop (and no ado object) the flush works correctly. Does anyone have any suggestions why this is not working or a work...
10
3594
by: Peter Larsen [] | last post by:
Hi, Is is possible to programmatically flush all opened files ?? BR Peter
0
8995
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9561
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
9381
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...
1
9332
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6799
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6078
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
4608
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
4879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3316
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.