The request scope is helpful as a kind of global constant since
it exists as a global variable. This helps particularly when you
are nesting custom tags and don't want to get bogged down with
#caller.caller.variables#

Beware though that its possible to over-write a request variable
from separate templates - they can't be locked AFAIK.

Some fusebox apps use request scope a lot BTW

Tristram Charnley
-----------------
[EMAIL PROTECTED]

"If something is hard to do, its not worth doing!"
Homer Simpson.



-----Original Message-----
From: Carol Bluestein [mailto:[EMAIL PROTECTED]]
Sent: 02 February 2001 15:25
To: CF-Talk
Subject: Re:RE: Request Scope


Is any one out there using the request variables extensively?

I'd like to know more about the request scope and how to use it.  I've found
very little in my documentation (4.0.1) and have searched the allaire
knowledge
base with no obvious results (a lot comes up but the titles lead me to
believe
they were not pertinent).  I've heard that using request scope variables can
help limit the "need" for session and/or application variables so that the
necessity of locking is minimized and in some cases eliminated.  I also
admit
that I could have heard this out of context.

Any clarification and information would be appreciated.

Thanks, in advance,
Carol


Carol L. Bluestein
Senior Programmer
NYS Office of Real Property
518-486-6335
[EMAIL PROTECTED]


____________________Reply Separator____________________
Subject:    RE: Request Scope
Author: [EMAIL PROTECTED]
Date:       2/1/01 8:06 PM

> The "Request" scope was available in CF 4.0 wasn't it?

Yup, just tested on our 4.0.1 server and it worked perfectly

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

Reply via email to