Thanks all for your responses! I've finally added this code to the onRequestStart() in Application.cfc
<cffunction name="onRequestStart" returnType="void" output="false"> <cfscript> // ... if (application.debug && structKeyExists(url, 'reset')) { structClear(application); onApplicationStart(); } // ... </cfscript> </cffunction> By adding &reset= in the url, the application is reset (only on debug mode for dev env). Thanks again! Aurelien On 29 oct, 20:18, "Mark Mandel" <[EMAIL PROTECTED]> wrote: > No reason you couldn't build a 'reset' function into your > Application.cfc that clears out your app scope, and calls > onApplicationStart(). > > It's pretty normal practice. > > Mark > > > > On Thu, Oct 30, 2008 at 12:22 AM, aurel <[EMAIL PROTECTED]> wrote: > > > Huuummmm.... You're right... Your response pushed me to investigate > > with more attention. I've been creating the transfer object into my > > applicationStart, by moving this to the requestStart. In this way it > > works for dev environment. > > > Thanks a lot! > > Aurelien > > > On 29 oct, 14:12, "James Allen" <[EMAIL PROTECTED]> wrote: > >> Are you storing the decorator in Session at all? > > >> --- > >> James Allen > > >> -----Original Message----- > >> From: transfer-dev@googlegroups.com [mailto:[EMAIL PROTECTED] > > >> On Behalf Of aurel > >> Sent: 29 October 2008 10:24 > >> To: transfer-dev > >> Subject: [transfer-dev] Newbie: Must restart when decorator change? > > >> Hello all - > > >> I do not find any discussion about this, so I must be wrong. > > >> When I modify a Decorator I need to restart the coldfusion service to > >> commit changes (even with no cache, discardAll()...). > > >> Any suggestion? > > >> Thanks- > >> Aurelien > > -- > E: [EMAIL PROTECTED] > W:www.compoundtheory.com --~--~---------~--~----~------------~-------~--~----~ Before posting questions to the group please read: http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer You received this message because you are subscribed to the Google Groups "transfer-dev" group. To post to this group, send email to transfer-dev@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/transfer-dev?hl=en -~----------~----~----~----~------~----~------~--~---