Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

debugging screen 1

Status
Not open for further replies.

GUJUm0deL

Programmer
Jan 16, 2001
3,676
US
Not even sure if this possible, but you never know unless you ask.

In my CMS section I enabled debugging from cfadministrator but is it possible (via code) to "hide" that debugging code when a specific user logs in?

This is my setup (maybe that can help explain what I need): I have a CMS system built for work, and I just created an extra section for a reporting. I do not want the individuals that access the reporting section to view the debugging info at the bottom, but I do want others (like myself, my boss, etc) to see it. Is this doable?

Thanks...

____________________________________
Just Imagine.
 
Code:
<cfsetting showdebugoutput="No">
Overrides the CF Admin setting. Surround it with cfif's to turn it off and on.

Hope This Helps!

ECAR
ECAR Technologies

"My work is a game, a very serious game." - M.C. Escher
 
Overrides the CF Admin setting. Surround it with cfif's to turn it off and on.

Just to comment from a host's perspective, this is a PITA. There is nothing worse than someone contacting you for support and we need to search their code to find where they have disabled this.

Hope this helps

Wullie

Fresh Look - Quality Coldfusion 7/Windows Hosting
YetiHost - Coming Soon

The pessimist complains about the wind. The optimist expects it to change. The leader adjusts the sails. - John Maxwell
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top