How about having a Url variable called "reload". If it is set to 1,
reload the framework. Otherwise, ignore it.
<cfif StructKeyExists(url, "reload") AND url.reload IS 1>
<cfset MACHII_CONFIG_MODE = 1>
</cfif>
I use this technique for some of my sites, and it works great.
On Wed, 16 Mar 2005 12:07:51 -0800 (PST), solomon folks
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm looking for the best way to force Mach-II to
> recompile a particular page when the index.cfm
> indicates "MACHII_CONFIG_MODE = -1".
>
> I tried to add a dummy parameter in the URL to force a
> recompile (&abcd=1234) that didn't work. Stop/Restart
> of the CF services is not an option...
>
> I know fusebox has a parameter you can indicate in the
> URL to force that... did someone come up with a nice
> way to do this with Mach-II as well ??
>
> Thanks so much !
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ----------------------------------------------------------
> You are subscribed to cfcdev. To unsubscribe, send an email to
> [email protected] with the words 'unsubscribe cfcdev' as the subject of the
> email.
>
> CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
> (www.cfxhosting.com).
>
> An archive of the CFCDev list is available at
> www.mail-archive.com/[email protected]
>
>
--
Paul Kenney
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.pjk.us
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of the
email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).
An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]