Thanx for that saying.  Although i don't think it's a stupid idea, it's not
the best idea, but hey variety is good.  had I known of the coldfusion
comment, I would have recommended that instead.

sorry, I'm not as advanced as most of yall :)


-----Original Message-----
From: Jeffry Houser [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 03, 2001 5:26 PM
To: CF-Talk
Subject: RE: Stupid Question? - Commenting Code That Does Not Show in
Brow ser



   I'd recommend against using this path...

   I'm reminded of something someone once said to me:  A stupid idea that 
works isn't a stupid idea.



At 01:45 PM 04/03/2001 -0500, you wrote:
>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