Ah ok, haven't played with this goodie yet :) One thing people need to keep in mind, is that effectively there will be no real degrade of performance. You only move logic for checking session state (and people have been logged in or not) from the template normally called after application.cfm, to application.cfc.
I doubt there will be any degradation of performance, iif you already have those session checks in your current application.cfm file. Micha Schopman Software Engineer Modern Media, Databankweg 12 M, 3821 AL Amersfoort Tel 033-4535377, Fax 033-4535388 KvK Amersfoort 39081679, Rabo 39.48.05.380 ------------------------------------------------------------------------ ------------------------------------------------------------------------ ----- Modern Media, Making You Interact Smarter. Onze oplossingen verbeteren de interactie met uw doelgroep. Wilt u meer omzet, lagere kosten of een beter service niveau? Voor meer informatie zie www.modernmedia.nl ------------------------------------------------------------------------ ------------------------------------------------------------------------ ----- -----Original Message----- From: Sean Corfield [mailto:[EMAIL PROTECTED] Sent: vrijdag 11 februari 2005 9:01 To: CF-Talk Subject: Re: Using Application.cfc has decreased performance On Thu, 10 Feb 2005 15:34:44 +0100, Micha Schopman <[EMAIL PROTECTED]> wrote: > It does, on each request > > Application.cfm -> onRequestStart -> onRequest -> index.cfm If you're using onRequest, there is no point in using onRequestStart as well. Of course there's a minor performance overhead - CF is executing a method that includes your page instead of executing your page directly. In reality - real-world sites, with real-world load - that will make no noticeable difference and the benefits of being able to manage start / end of application and session make it worthwhile. -- Sean A Corfield -- http://www.corfield.org/ Team Fusebox -- http://www.fusebox.org/ Breeze Me! -- http://www.corfield.org/breezeme Got Gmail? -- I have 49, yes 49, invites to give away! "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:194197 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

