Already done that, what I was looking at doing was having a structure
that could not be seen and fill this with data as required, however the
problem that now arises is that if I cfdump var="request" I could
potentially see all the available variables. But if someone comes in a
changes the wrong one I was hoping that CF could lock this from ever
happening.

Maybe a com object to maintain the variables would be better!!



-----Original Message-----
From: David Schmidt [mailto:[EMAIL PROTECTED]] 
Sent: Monday, 26 November 2001 1:37 AM
To: CF-Talk
Subject: RE: Is this possible!!

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?
>
>
>
>
>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to