RE: Scoping Variable

2001-07-18 Thread Raymond Camden

CF automatically will search up if you only use q. If you don't 
want that,
then specify URL.Q, or Variables.Q, or whatever. If you _want_ it to 
scope
up, just use q.

==
=
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia

Email   : [EMAIL PROTECTED]
ICQ UIN : 3679482

My ally is the Force, and a powerful ally it is. - Yoda

 -Original Message-
 From: Michael Lugassy [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, July 18, 2001 9:35 AM
 To: CF-Talk
 Subject: Scoping Variable


 how do I enforce CF to use only url.q and not simply q
 i.e -  how to ask cf to search for scoping on every variable?
 where is it in the administrator?

 Thanks,

 Michael



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



RE: Scoping Variable

2001-07-18 Thread Andy Ewings

by doing exactly what you said!.  Prefix your variables with the 
scope e.g.
url.q, form.q, client.q, etc

The order with which CF looks for them is:

QUERY RESULT VARS
LOCAL
CGI
FILE
URL
FORM
COOKIE
CLIENT


-- 
Andrew Ewings
Project Manager
Thoughtbubble Ltd 
http://www.thoughtbubble.net 
-- 
United Kingdom 
http://www.thoughtbubble.co.uk/ 
Tel: +44 (0) 20 7387 8890 
-- 
New Zealand 
http://www.thoughtbubble.co.nz/ 
Tel: +64 (0) 9 488 9131 
-- 
The information in this email and in any attachments is confidential 
and
intended solely for the attention and use of the named addressee(s). 
Any
views or opinions presented are solely those of the author and do not
necessarily represent those of Thoughtbubble. This information may be
subject to legal, professional or other privilege and further 
distribution
of it is strictly prohibited without our authority. If you are not the
intended recipient, you are not authorised to disclose, copy, 
distribute, or
retain this message. Please notify us on +44 (0)207 387 8890.



-Original Message-
From: Michael Lugassy [mailto:[EMAIL PROTECTED]]
Sent: 18 July 2001 14:35
To: CF-Talk
Subject: Scoping Variable


how do I enforce CF to use only url.q and not simply q
i.e -  how to ask cf to search for scoping on every variable?
where is it in the administrator?

Thanks,

Michael
~~
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



Re: Scoping Variable

2001-07-18 Thread Michael Lugassy

wasn't there a switch in cf admin that would only use SCOPE variables
and WON'T allow, let say: a URL.p to be considered a FORM.p?

I think I read it boost performance also? but I might be confused with
something
else.

Thanks,

Michael
- Original Message -
From: Andy Ewings [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, July 18, 2001 2:45 PM
Subject: RE: Scoping Variable


 by doing exactly what you said!.  Prefix your variables with the
 scope e.g.
 url.q, form.q, client.q, etc

 The order with which CF looks for them is:

 QUERY RESULT VARS
 LOCAL
 CGI
 FILE
 URL
 FORM
 COOKIE
 CLIENT


 --
 Andrew Ewings
 Project Manager
 Thoughtbubble Ltd
 http://www.thoughtbubble.net
 --
 United Kingdom
 http://www.thoughtbubble.co.uk/
 Tel: +44 (0) 20 7387 8890
 --
 New Zealand
 http://www.thoughtbubble.co.nz/
 Tel: +64 (0) 9 488 9131
 --
 The information in this email and in any attachments is confidential
 and
 intended solely for the attention and use of the named addressee(s).
 Any
 views or opinions presented are solely those of the author and do 
not
 necessarily represent those of Thoughtbubble. This information may 
be
 subject to legal, professional or other privilege and further
 distribution
 of it is strictly prohibited without our authority. If you are not 
the
 intended recipient, you are not authorised to disclose, copy,
 distribute, or
 retain this message. Please notify us on +44 (0)207 387 8890.



 -Original Message-
 From: Michael Lugassy [mailto:[EMAIL PROTECTED]]
 Sent: 18 July 2001 14:35
 To: CF-Talk
 Subject: Scoping Variable


 how do I enforce CF to use only url.q and not simply q
 i.e -  how to ask cf to search for scoping on every variable?
 where is it in the administrator?

 Thanks,

 Michael

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



RE: Scoping Variable

2001-07-18 Thread Raymond Camden


 wasn't there a switch in cf admin that would only use SCOPE 
variables
 and WON'T allow, let say: a URL.p to be considered a FORM.p?

I don't believe so.

 I think I read it boost performance also? but I might be confused 
with
 something
 else.

Yes, it is better to scope your variables, not only for performance
(although I doubt it really impacts things that much), but for
stability/security as well.

==
=
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia

Email   : [EMAIL PROTECTED]
ICQ UIN : 3679482

My ally is the Force, and a powerful ally it is. - Yoda


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



RE: Scoping Variable

2001-07-18 Thread Philip Arnold - ASP

 wasn't there a switch in cf admin that would only use SCOPE 
variables
 and WON'T allow, let say: a URL.p to be considered a FORM.p?

 I think I read it boost performance also? but I might be confused 
with
 something else.

You're probably thinking of Enforce Strict Attribute Validation in 
the
Administrator

Philip Arnold
Director
Certified ColdFusion Developer
ASP Multimedia Limited
T: +44 (0)20 8680 1133

Websites for the real world

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**



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