You might want to do this:  Create a simple structure like,
"Request.Constants" or some other scope just to remind people not to change
them.  Other scopes might include Application (if app specific constant) or
Server (if not clustered or server specific).



-----Original Message-----
From: Andrew Scott [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 24, 2001 3:53 PM
To: CF-Talk
Subject: RE: Is this possible!!


Thanks, I thought of new this but wasn't sure if CF 5.0 had something as
I haven't really got stuck into its new features yet!!


-----Original Message-----
From: Jeffry Houser [mailto:[EMAIL PROTECTED]]
Sent: Sunday, 25 November 2001 1:24 AM
To: CF-Talk
Subject: Re: Is this possible!!

  In essence, you are looking for a constant.  No, there is not.
  Just set up the variable in the Application.cfm and don't ever change
it's value.  If you're working with other developers...  I don't believe

there is anything you can do to force them not to change the value other

than telling them.

At 12:08 AM 11/25/2001 +1100, you wrote:
>Without really having looked into this yet, but is it possible to make
a
>variable readonly. So that any attempt to write would throw an error,
or
>have no effect. Any solutions in CF that would allow this?
>
>
>
>
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to