RE: Cfinclude processing

2005-10-17 Thread Andy Matthews
Could you use js to call the include?

!//--
andy matthews
web developer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: CHANCE, JENNIFER M. (JSC-BJ) (BAS)
[mailto:[EMAIL PROTECTED]
Sent: Monday, October 17, 2005 2:34 PM
To: CF-Talk
Subject: Cfinclude processing


Is there any way to make a page completely process a cfinclude before
continuing?  I have data that is sometimes updating in the cfinclude and
that data is displayed.
The cfinclude page runs and the database is updated, but not quick enough to
display the new data on the page that is calling the cfinclude.

Any suggestions?




~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221242
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Cfinclude processing

2005-10-17 Thread Munson, Jacob
I guess I'm confused...what do you mean by '..not quick enough to
display the new data'.  Do you need to use cfflush to make sure the data
is output as it happens?

 -Original Message-
 From: CHANCE, JENNIFER M. (JSC-BJ) (BAS) 
 [mailto:[EMAIL PROTECTED] 
 Sent: Monday, October 17, 2005 1:34 PM
 To: CF-Talk
 Subject: Cfinclude processing
 
 Is there any way to make a page completely process a cfinclude before
 continuing?  I have data that is sometimes updating in the 
 cfinclude and
 that data is displayed.  
 The cfinclude page runs and the database is updated, but not 
 quick enough to
 display the new data on the page that is calling the cfinclude.
 
 Any suggestions?


[INFO] -- Access Manager:
This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law.  If you are not the 
intended recipient, you are hereby notified that any disclosure, copying, 
distribution, or use of the information contained herein (including any 
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in 
error, please immediately contact the sender and destroy the material in its 
entirety, whether in electronic or hard copy format.  Thank you.   A2



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221243
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Cfinclude processing

2005-10-17 Thread CHANCE, JENNIFER M. (JSC-BJ) (BAS)
The main page looks at the database before the code that updates the
database in the cfinclude has had a chance to finish 

-Original Message-
From: Munson, Jacob [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 17, 2005 2:53 PM
To: CF-Talk
Subject: RE: Cfinclude processing

I guess I'm confused...what do you mean by '..not quick enough to display
the new data'.  Do you need to use cfflush to make sure the data is output
as it happens?

 -Original Message-
 From: CHANCE, JENNIFER M. (JSC-BJ) (BAS) 
 [mailto:[EMAIL PROTECTED]
 Sent: Monday, October 17, 2005 1:34 PM
 To: CF-Talk
 Subject: Cfinclude processing
 
 Is there any way to make a page completely process a cfinclude before 
 continuing?  I have data that is sometimes updating in the cfinclude 
 and that data is displayed.
 The cfinclude page runs and the database is updated, but not quick 
 enough to display the new data on the page that is calling the 
 cfinclude.
 
 Any suggestions?


[INFO] -- Access Manager:
This transmission may contain information that is privileged, confidential
and/or exempt from disclosure under applicable law.  If you are not the
intended recipient, you are hereby notified that any disclosure, copying,
distribution, or use of the information contained herein (including any
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission
in error, please immediately contact the sender and destroy the material in
its entirety, whether in electronic or hard copy format.  Thank you.   A2





~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221244
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Cfinclude processing

2005-10-17 Thread Larry Lyons
The main page looks at the database before the code that updates the
database in the cfinclude has had a chance to finish 

-Original Message-
From: Munson, Jacob [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 17, 2005 2:53 PM
To: CF-Talk
Subject: RE: Cfinclude processing

I guess I'm confused...what do you mean by '..not quick enough to display
the new data'.  Do you need to use cfflush to make sure the data is output
as it happens?


I'm a bit confused here myself. All that a CFInclude does is inserts the 
included page at that point. If you need to look at the changed data, you may 
want to do some page restructuring, or use a cflocation to a display page 
immediately after the data has been inserted. 

larry

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221245
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Cfinclude processing

2005-10-17 Thread CHANCE, JENNIFER M. (JSC-BJ) (BAS)
Ah..I just went ahead and created another query in the cfinclude page to
pull the data out and will just use that query to populate instead.  It
works and that's all that matters :)  thanks! 

-Original Message-
From: Larry Lyons [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 17, 2005 3:01 PM
To: CF-Talk
Subject: Re: Cfinclude processing

The main page looks at the database before the code that updates the 
database in the cfinclude has had a chance to finish

-Original Message-
From: Munson, Jacob [mailto:[EMAIL PROTECTED]
Sent: Monday, October 17, 2005 2:53 PM
To: CF-Talk
Subject: RE: Cfinclude processing

I guess I'm confused...what do you mean by '..not quick enough to 
display the new data'.  Do you need to use cfflush to make sure the 
data is output as it happens?


I'm a bit confused here myself. All that a CFInclude does is inserts the
included page at that point. If you need to look at the changed data, you
may want to do some page restructuring, or use a cflocation to a display
page immediately after the data has been inserted. 

larry



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221248
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Cfinclude processing

2005-10-17 Thread Munson, Jacob
I'm glad you got it to work, but FYI, all contents of a cfinclude will
process before the rest of the original file runs.  To test this, I
created an include file that just loops for 30 seconds.  I wrote the
time to the screen before, inside, and after the include call and here
are the results:

before calling include: 2:09:48 PM
inside at start of include: 2:09:48 PM
inside at end of include: 2:10:15 PM
after calling include: 2:10:15 PM
Some text after the include file

So the code that wrote the 'after calling' and the 'some text after...'
lines didn't fire until after the include had finished.

 -Original Message-
 From: CHANCE, JENNIFER M. (JSC-BJ) (BAS) 
 [mailto:[EMAIL PROTECTED] 
 Sent: Monday, October 17, 2005 2:05 PM
 To: CF-Talk
 Subject: RE: Cfinclude processing
 
 Ah..I just went ahead and created another query in the 
 cfinclude page to
 pull the data out and will just use that query to populate 
 instead.  It
 works and that's all that matters :)  thanks! 
 
 -Original Message-
 From: Larry Lyons [mailto:[EMAIL PROTECTED] 
 Sent: Monday, October 17, 2005 3:01 PM
 To: CF-Talk
 Subject: Re: Cfinclude processing
 
 The main page looks at the database before the code that updates the 
 database in the cfinclude has had a chance to finish
 
 -Original Message-
 From: Munson, Jacob [mailto:[EMAIL PROTECTED]
 Sent: Monday, October 17, 2005 2:53 PM
 To: CF-Talk
 Subject: RE: Cfinclude processing
 
 I guess I'm confused...what do you mean by '..not quick enough to 
 display the new data'.  Do you need to use cfflush to make sure the 
 data is output as it happens?
 
 
 I'm a bit confused here myself. All that a CFInclude does is 
 inserts the
 included page at that point. If you need to look at the 
 changed data, you
 may want to do some page restructuring, or use a cflocation 
 to a display
 page immediately after the data has been inserted. 
 
 larry
 
 
 
 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221249
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Cfinclude processing

2005-10-17 Thread Justin D. Scott
ColdFusion waits until all of the included code has run before it moves on.
It sounds like your database isn't updating the tables fast enough before
you run the query to re-pull that data for display (why you would need to
re-query the database right after updating it is beyond me to begin with,
but that's what it sounds like you're doing).

-Justin Scott


 -Original Message-
 From: CHANCE, JENNIFER M. (JSC-BJ) (BAS) 
 [mailto:[EMAIL PROTECTED] 
 Sent: Monday, October 17, 2005 3:34 PM
 To: CF-Talk
 Subject: Cfinclude processing
 
 Is there any way to make a page completely process a cfinclude before
 continuing?  I have data that is sometimes updating in the 
 cfinclude and
 that data is displayed.  
 The cfinclude page runs and the database is updated, but not 
 quick enough to
 display the new data on the page that is calling the cfinclude.
 
 Any suggestions?
 
 
 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221257
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Cfinclude processing

2005-10-17 Thread Justin D. Scott
 Ah..I just went ahead and created another query in the 
 cfinclude page to
 pull the data out and will just use that query to populate 
 instead.  It
 works and that's all that matters :)  thanks! 

So you were pulling data out, then running an update query, and expecting
that update query to change your local query object variable?  If you update
the database, you also have to update your query object either manually, or
by running another query (as you've done here).  This is normal...

-Justin



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221258
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54