Kay,

You might like to look at adding a per user debug setting, rather 
than try
to manage by IP number ......

By this I mean use a session variable (or maybe a session cookie) to 
say
whether or not to display the debug output.  

i.e.  
============ In Application.cfm =======================
<!--- default debugging visibility to "No" --->
<cfparam name="session.show_debug" default="no">

============ In Login Script =========================
<!--- Override the default setting if the user is eligible --->
<cfif logon succeeded and user meets conditions to see debug output>
        <cfset session.show_debug = "yes">
</cfif>

============ In OnRequestEnd.cfm ====================
<!--- show debug based on the value of the session variable --->
<cfsetting 
showdebugoutput="#IIf(session.show_debug,de('yes'),de('no'))#">

For this you would have to set debugging on globally, so all 
applications
using the same server would need an OnRequestEnd.cfm to control the 
display
of the debug output.

Regards,
-Rob



-----Original Message-----
From: Kay Smoljak [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2001 1:35 PM
To: CF-Talk
Subject: debugging info display and CF5


Hi all,

Does CF5 allow you to specify a range of IP addresses to receive 
debugging
info? Everytime I log into our network I get a different IP in our 
range...
so then I have to turn it on to all IPs, then find out what mine is 
and set
it to allow just that. It's really annoying. And I don't want to 
manually
put in all the possible values I could have because that would be a
nightmare.

Regards,

Kay.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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