Don't worry about redirecting in Application.cfc too much.  It is a
CFC, but it's a little different than most other CFCs, so the same
rules don't apply to the same degree.  It's really a very procedural
construct, it's just packaged into a CFC, because it makes things a
lot cleaner.

And you can only use one of Application.cfm and Application.cfc. 
Application.cfc has priority.  If it doesn't exist, then
Application.cfm (and the corresponding OnRequestEnd.cfm, if it exists)
is looked for and executed.

cheers,
barneyb

On Sun, 13 Mar 2005 13:20:38 -0600, Andy Ousterhout
<[EMAIL PROTECTED]> wrote:
> Jim,
> I am just concerned that redirecting out of a CFC might create sloppy code.
> I would probably want to continue to use Application.cfm for the redirecting
> or use an include at the top of every page.
> 
> Can I use both Application.cfm and Application.cfc? If so, what order do they
> get executed in?
> 
> Andy

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 50 invites.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:198631
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

Reply via email to