473,249 Members | 1,836 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,249 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 2823
*** 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: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

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.