in the onRequestStart handler, you can add some code to this effect: <!--- RENEW APPLICATION VARIABLES ---> <cfif structKeyExists(URL, "reset") AND URL.reset IS "YES"> <cfset this.onApplicationStart()> </cfif>
That should do the trick Joel -----Original Message----- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] Behalf Of Mike Kear Sent: Tuesday, 12 December 2006 11:05 AM To: cfaussie@googlegroups.com Subject: [cfaussie] Restarting the CFAPP from the URL how do you folks do a reset of the application if you're using Application.cfc? What i mean is if you have http://domain.com.au/index.cfm?reset=yes, how do you handle that resetting in the Application.cfc file? (not application.cfm - i've been doing that fine for ages .. its the .cfc version I'm asking about) In the past I've done the clumsy way of just renaming the app from MyApp0001 to MyApp0002 etc and uploading a new Application.cfc but while that works fine, that's not the best way of doing it. -- Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---