this is what i would do.

u will have to work a login page (u decide how to verify it).  all this
login page will do is set a session or application variable to true, or some
value.  then in your actual code, i would wrap a condition around your
comment, to only let the comment show (on the browser side) if that variable
is TRUE or present or whatever.


ex.

I log in witha  correct login and password, and it sets session.snifflebutt
to TRUE.   in my CFM code, i owuld do this around the comments


<CFIF IsDefined("session.snifflebutt")>
<---  You are all a bunch of snifflebutts  --->
</CFIF>

if a regular person goes to the site, they wont be able to view the comment.
slick, eh?  send me money!



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 1:35 PM
To: CF-Talk
Subject: Stupid Question? - Commenting Code That Does Not Show in
Browser


I want to place comments in the code for the other developers.  However I do
not want the comments to show up in the browser with "view source." Am I
totally overlooking something?

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

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to