The request scope is one of most useful scopes available in CF although it
is undervalued both in the documentation and the user community.

request scope variables are almost the same as the variable scope with one
important difference:
request scope variables are available in all custom tags called during a
particular request, so unlike the variable scope, you don't have to
explicitly pass the variables to a custom tag.

This is also extremely useful for converting application and session scope
variables to the request scope in the application.cfm. When you do this you
have central control this conversion and can make sure that read only and
exclusive locks are properly applied in one central place.

Kind regards,

Marc Schipperheyn
CTO
<theFactor.e>

-----Original Message-----
From: Kinley Pon [mailto:[EMAIL PROTECTED]]
Sent: woensdag 6 december 2000 18:57
To: CF-Talk
Subject: RE: What are the recognized CF variable scopes?


Tim, I came across the mentioning of request variables in the fusebox
methodology book also you can find the usage of the request variables in the
code that makes up the fusebox.org site.

I am still very confused about the usage of the request variables, though
there are explainations that the request variables should only be used from
page to page.

Maybe you can extract a better answer.

Justme


-----Original Message-----
From: Dempsey, Timothy F. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 06, 2000 8:16 AM
To: CF-Talk
Subject: What are the recognized CF variable scopes?

Folks,

I have seen a mention on this list in the last couple of days something
called the request scope for CF variables. I had never heard of it. Until
now I had only heard of the Application, Client, Session, Form, Query, and
Attributes scopes as well as the local variable scope.

Now I have a few questions:

1.) What is the Request scope?
2.) Are there other scopes besides that and the ones I listed above?
3.) Where are things like this documented? I don't see it in the CF manuals
or help files or in Ben Forta's books.

Thanks,
 -- Tim Dempsey
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to