See there was me looking for a complicated answer, as opposed to reading the manual.

Doh!

Steve Martin <[EMAIL PROTECTED]> wrote :

> IsDebugMode()
> 
> > -----Original Message-----
> > From: Steve Powell [mailto:[EMAIL PROTECTED]
> > Sent: 15 January 2004 16:14
> > To: [EMAIL PROTECTED]
> > Cc: Steve Powell
> > Subject: [ cf-dev ] Detecting Debug Mode for CF
> > 
> > 
> > Offbeat request here.
> > 
> > Does anyone know how to pick up if you are running in debug 
> > mode (your IP address has been added to the list in the CF 
> > Admin) and if debugging is enabled on the box you are trying 
> > to access.
> > 
> > I wanted to cheat and re-use the debugging to lock all other 
> > users out of the system while changes are being made.
> > 
> > I could do it by just checking my IP against a hard wired 
> > value or a value in a DB of my own but I figured it would be 
> > neat to lock everyone else out if they aren't on the debug IP list...
> > 
> > thanks
> > 
> > Steve Powell
> > [EMAIL PROTECTED]
> > 07971 583792
> > 
> > 
> > 
> > 
> > 
> > -- 
> > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> > 
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > For human help, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> --
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]

Steve Powell
[EMAIL PROTECTED]
07971 583792





-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to