Why not just put it in the application constructor (the space in the .cfc
component tags outside of functions)... The Application.cfc get created
every page call (as far as I know). Except the <cfcontent> tag, you probably
would want to put after  most of the pre-page-processing as you are
resetting the buffer (take advantage of that later in the game).

Also, I have little encoding experience... What is the use of setting it? 

.......................
Ben Nadel 
www.bennadel.com
Certified Advanced ColdFusion Developer

Need Help?
www.bennadel.com/ask-ben/


-----Original Message-----
From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 28, 2006 12:44 PM
To: CF-Talk
Subject: RE: Where you one put encoding hints in an Application.cfc?

Why not put it in onApplicationStart?


Well, I'm not sure why not, which is why I asked the question.  

My thinking was that these encoding hints need to run every request, they
aren't something that would be automatically remembered are they?  Thus if
they where in the application start, they would run once for that request
and then be forgotten. 

But I'm not sure on this, so I was hopping to get some perspective from
better minds then mine.


--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

---------
| 1 |   |
---------  Binary Soduko
|   |   |
---------
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any attachments is for the
sole use of the intended
recipient(s) and may contain confidential and privileged information. Any
unauthorized review, use, disclosure or distribution is prohibited. If you
are not the intended recipient, please contact the sender and delete any
copies of this message. 






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:251266
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to