House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / ColdFusion Talk (CF-Talk)

Forcing a CFC to refresh

Author:
Nicholas M Tunney
04/15/2008 02:51 PM

In 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


Search cf-talk

May 22, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Designer, Developer and mobile workflow conference