Regular template, continuous availability of "local" variables.
- Represents local variable scope
+ represents module scope
= represents request scope
<font face="courier">
TEMPLATE ~_~_~_~_~_~_
-----------
-----------
-----------
-----------
-----------
-----------
-----------
-----------
-----------
-----------
TEMPLATE W/Module ~_~_~_~_~_ Flow of regular variables
-----------
-----------
Module
+++++++
+++++++
+++++++
-----------
-----------
TEMPLATE W/Module ~_~_~_~_~_~_ Request Scope tossed in
------=====
------=====
------=====
------=====
Module
++++====
++++====
++++====
------=====
------=====
------=====
</font>
At the end of each template, ALL of these varialbes go out of scope
and are no longer available.
Notice continuous flow of the request scope? Changes up "higher" modify
changes lower in your template flow.
Picutres are worth a thousand words? I stuck a font tag up top
for you HTML Email weenies :p
-----Original Message-----
From: Douglas Smith [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 13, 2000 12:02 AM
To: Fusebox
Subject: RE: Request Variables - Best Definition Challenge
Actually, you can have local variables inside a <CFMODULE>, and while they
live and die with the page request, they are really local the module, not to
the entire page request.
It might help to reverse the thought process: Local variables are request
variables that don't cross the <CFMODULE> barrier.
At 02:43 PM 10/13/00 +1100, BORKMAN Lee wrote:
>Err,
>
>Local? Local to WHAT, my dear boy? Answer: a request!!!!
>
>Thus the circle closes itself.
>
>Lee (Bjork) Borkman
>http://bjork.net ColdFusion Tags by Bjork
>
>
>-----Original Message-----
>From: Douglas Smith [mailto:[EMAIL PROTECTED]]
>
>Request variables are local variables that ignore the <CFMODULE> isolation
>barrier.
>
>
>
>IMPORTANT NOTICE:
>This e-mail and any attachment to it is intended only to be read or used by
>the named addressee. It is confidential and may contain legally privileged
>information. No confidentiality or privilege is waived or lost by any
>mistaken transmission to you. If you receive this e-mail in error, please
>immediately delete it from your system and notify the sender. You must not
>disclose, copy or use any part of this e-mail if you are not the intended
>recipient. The RTA is not responsible for any unauthorised alterations to
>this e-mail or attachment to it.
>---------------------------------------------------------------------------
---
>To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
====================================================
Douglas M. Smith - Database Architect/Web Integration Specialist
====================================================
TERATECH, INC. - TOOLS FOR PROGRAMMERS(tm)
VisualBasic, Web (ColdFusion and ASP), Math and Statistics,
Access, SQL, programming tools & consulting
100 Park Ave, Suite 360, Rockville MD 20850 USA
Voice: 301-424-3903, Fax: 301-762-8185
http://www.teratech.com
====================================================
Email: [EMAIL PROTECTED]
Mobil/Cell Phone: (240) 601-5520
ICQ: 41044319
====================================================
Do you need a group calendar or scheduler?
How about a free ColdFusion Tag and Function Reference?
Go to http://www.teratech.com/freestuff.cfm
====================================================
----------------------------------------------------------------------------
--
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.