get hold of the custom tag cfx_debug by ben forta - lets you turn debug on
and off remotely without having to faff about with CF administrator and
figuring out your IP address and stuff (Though its not the sort of thing you
want to leave lying around on a live server, without encrypting the
URL....?)

eg

<a href="www.mycom.com/my_secret_debugger.cfm?action=add">debug on</A>
<a href="www.mycom.com/my_secret_debugger.cfm?action=delete">debug off</A>


my_secret_debugger.cfm:

<CFX_Debug ACTION="#url.action#" ADDRESS="#CGI.REMOTE_ADDR#">
<CFSET temp = cfusion_settings_refresh()>

Bert

(I found i needed to use one of the secret cf functions after the call to
cfx_debug for it to work propertly)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to