On 10/3/06, Teddy Payne <[EMAIL PROTECTED]> wrote: > If you use Application.cfc, you can use the onRequest method to intercept > your page loads.
I've used onRequestStart and onRequestEnd to add headers and footers, works quite well aside from the fact that you then need a variable when you don't want the header/footer, like for XML stuff for JS or whathaveyou. I don't like the <cfinclude> on each page much for the reason I don't like DW templates. I'd way rather have a <cfinclude> than a DW template though... you can be pretty sure a global find and replace will catch the whole bit you want. * Yeah, ModelGlue takes care of this stuff, and many other nifty issues, quite readily. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:255551 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

