|
Mailing Lists
|
Home / Groups / ColdFusion Talk (CF-Talk)
Forcing a CFC to refreshIn Application.cfc, just have an if statement that checks for the existence of a url variable. if the url variable exists, call onApplicationStart() and onSessionStart() explicitly. This will reload all scoped CFCs. Nic Barney Boisvert wrote: > Develop locally? There's a reason CF Enterprise is free for development. > > > >> Boy I hate developing with CFCs.. >> >> Make an edit, test, make another edit - the darned thing doesn't >> refresh. The only way I've found around this is to keep saving it under >> a new name, and retest using the new name each time >> >> <cfset request.cfcLOCATION="https://mysite.com/version1.cfc?wsdl"> >> <cfset request.cfcLOCATION="https://mysite.com/version2.cfc?wsdl"> >> <cfset request.cfcLOCATION="https://mysite.com/version3.cfc?wsdl"> >> >> .... and so forth. >> >> What a PITA!! >> >> Is there any way (on a shared server that I've very little access to >> beyond FTP) to *force* a CFC to refresh, or is this just the nature of >> the beast? >> >> > > > -- Nicholas M. Tunney Blog: http://www.nictunney.com Adobe Certified Advanced ColdFusion MX7 Developer Adobe Certified Instructor Adobe Community Expert |
May 22, 2013
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||