>- see footer for list info -<
Neil I came across the following snippet of code:

<cfscript> 
  variables.factory = createobject("java", 
"coldfusion.server.ServiceFactory"); 
  variables.runtime = factory.getRuntimeService(); 
  variables.runtime.setTrustedCache(FALSE); 
</cfscript>

<cfdump var="#variables.runtime#" >


>From the following CFTALK thread...

http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid=300
33&forumid=4

Which seems to suggest you can do it programmatically (although this may not
work in the next version of CF).

I would be interested to know if this works


Kola 



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robertson-Ravo,
Neil (RX)
Sent: 30 September 2004 10:13
To: Coldfusion Development
Subject: RE: [CF-Dev] Purge Trusted Cache

>- see footer for list info -<
Yep, it doesn't require a restart but I would certainly like to be able to
purge it when required.

Hmm, I will keep searching

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 30 September 2004 11:06
To: 'Coldfusion Development'
Subject: RE: [CF-Dev] Purge Trusted Cache

>- see footer for list info -<

If I recall correctly, restarting the server is no longer necessary on MX.
If you uncheck the trusted cache option and then call the page(s) it should
Compile the most recent version. Not sure how you could do this
programmatically. There may be an undocumented way of switching the trusted
cache on/off.



Kola Oyedeji
Analyst/Programmer, Vivid Lime
E: [EMAIL PROTECTED],, T: , F: 0870 033

 

 

Vivid Lime, 17 Devonshire Square, London, EC2M 4SQ
www.vividlime.com


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robertson-Ravo,
Neil (RX)
Sent: 30 September 2004 09:15
To: Coldfusion Development
Subject: [CF-Dev] Purge Trusted Cache

>- see footer for list info -<
Anyone know of a way to programtically purging the Trusted Cache on CFMX -
so you do not have to restart the server?  
This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant,
Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions.
Visit our website at http://www.reedexpo.com
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<




_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant,
Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions.
Visit our website at http://www.reedexpo.com
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<




_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to