Re: Application.cfc (Resolved)
This may be a shot in the dark, but why is the this scoped variables created during the application start? Since these are more global considerations, shouldn't they be put between the cfcomponent tag and the first method? Have you tried that? I saw that you alluded to it. cfcomponent cfset this.whatever = soemthing cffunction name= Teddy On 8/25/06, Charles Sheehan-Miles [EMAIL PROTECTED] wrote: That was it. I was under the mistaken belief that I could not run the query outside the framework of any of the functions. I redid it and put all the application init stuff before the first function, and cached that query for the life of the application. Now it works perfectly. I love it when I spend 4 hours learning something REALLY SIMPLE. :) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251038 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Application.cfc (Resolved)
But that 4 hours now means you will never forget it... Good ROI in my book! This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Charles Sheehan-Miles To: CF-Talk Sent: Fri Aug 25 16:31:07 2006 Subject: Re: Application.cfc (Resolved) This may be a shot in the dark, but why is the this scoped variables created during the application start? Since these are more global considerations, shouldn't they be put between the cfcomponent tag and the first method? Have you tried that? I saw that you alluded to it. cfcomponent cfset this.whatever = soemthing cffunction name= Teddy On 8/25/06, Charles Sheehan-Miles [EMAIL PROTECTED] wrote: That was it. I was under the mistaken belief that I could not run the query outside the framework of any of the functions. I redid it and put all the application init stuff before the first function, and cached that query for the life of the application. Now it works perfectly. I love it when I spend 4 hours learning something REALLY SIMPLE. :) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251039 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Application.cfc (Resolved)
No worries! =) On 8/25/06, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED] wrote: But that 4 hours now means you will never forget it... Good ROI in my book! This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Charles Sheehan-Miles To: CF-Talk Sent: Fri Aug 25 16:31:07 2006 Subject: Re: Application.cfc (Resolved) This may be a shot in the dark, but why is the this scoped variables created during the application start? Since these are more global considerations, shouldn't they be put between the cfcomponent tag and the first method? Have you tried that? I saw that you alluded to it. cfcomponent cfset this.whatever = soemthing cffunction name= Teddy On 8/25/06, Charles Sheehan-Miles [EMAIL PROTECTED] wrote: That was it. I was under the mistaken belief that I could not run the query outside the framework of any of the functions. I redid it and put all the application init stuff before the first function, and cached that query for the life of the application. Now it works perfectly. I love it when I spend 4 hours learning something REALLY SIMPLE. :) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251047 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4