Hi Neil,
I think this short script should take care of it. I
run this script as my home page when I first open
Internet Explorer. It uses an undocumented function
to refresh ColdFusion so you won't have to restart:
<!--- Update the registry with the current IP: --->
<CFREGISTRY ACTION = "set"
ENTRY="#CGI.Remote_ADDR#"
TYPE="String"
BRANCH=
"HKEY_LOCAL_MACHINE\Software\Allaire\ColdFusion\CurrentVersion\Debug\DebugIPList">
<!--- Use the undocumented CF Server refresh --->
<CFSET CFUSION_SETTINGS_REFRESH() >
-----Original Message-----
From: Neil H. [mailto:[EMAIL PROTECTED]]
Sent: Saturday, April 20, 2002 2:42 PM
To: CF-Talk
Subject: Programmatically adding an IP to
debugging....
I want to add debugging for my IP and since Comcast
took over I can't keep
an ip. I want to be able to add the IP to the system
if it doesn't exist.
Its for my beta stuff so it shouldn't be a risk...
Thanks,
Neil
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists