Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFFLUSH and Internet Expolrer

Status
Not open for further replies.

johk02

Programmer
Aug 20, 2003
169
AU
Hi,

I am using CFFLUSH to output my part of my page.
It works OK in Firefox but in IE it doesn't work, it still have to load all the content before it displays anything.
I have used the IE pad
Code:
<CFOUTPUT>#RepeatString(" ",100)#</CFOUTPUT>
.
Are there any "rules" to where to place the pad in relation to query etc??

Thanks

Jonas
 
It would help if we could see all of your code, its difficult to tell from what you've put there.

It seems strange you are getting different results in different browsers as they should just be reading the output HTML/XHTML and not your coldfusion code, all the CF stuff is processed server side.

Show us a little more code and it will make it easier to help.

Ta,

Rob
 
Here are some code. The bottle neck on the page is the query GetLocations which is used for a related select (2 drop downs).
Code:
Thisi is code in the register page
<CFOUTPUT>#RepeatString(" ",100)#</CFOUTPUT>  
<cfflush>

  <cfinclude template="includes/inc_registerForm.cfm">

Here are queries in the inc_registerForm.cfm. I tried to put the CFFLUSH tag in inc_registerForm.cfm but it didn't work. I didn't get an error message put it didn't "FLush" anything to the browser.
For some reason it works in Firefox.
I got the"pad" from this link
Code:
<cfquery name="RsGetBusinessCat" datasource="#request.SiteDSN#">
SELECT *
FROM holanet.holanet_businesscat
</cfquery>
<!--- Query to populate state locality and pcode --->
<cfquery name="GetLocations" datasource="#request.SiteDSN#" cachedWithin = "#CreateTimeSpan(0, 0, 10, 0)#">
SELECT State, Locality, Pcode
  FROM holanet_locality
  WHERE holanet_locality.State = 'NSW'
  group by State, Locality, Pcode
     order by State, Locality, Pcode
</cfquery>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top