473,387 Members | 1,603 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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_fetch_row($result)) {
// output one row of a table
flush();
}

I have also tried ob_flush(), to no avail, and ob_implicit_flush() 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*****@webrightdevelopment.SPAM.com
Jul 17 '05 #1
4 2831
*** 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*****@webrightdevelopment.SPAM.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
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...
7
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...
1
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...
1
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
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...
0
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...
1
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...
0
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...
10
by: Peter Larsen [] | last post by:
Hi, Is is possible to programmatically flush all opened files ?? BR Peter
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
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...

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.