The purpose of using the request scope as opposed to the variables scope is
to allow access to the variable from custom tags, functions etc...
The request scope is automatically available to all pages in ColdFusion,
whereas setting a page to just the variables scope is not.
My personal preference is to create scopes within request for data the is
going to be available across the page... Ie:
<cfscript>
request.data = structnew();
request.moredata = structnew();
... Etc ...
</cfscript>
That way you can make all global settings available to all of CF, and make
them self-documenting.
Paul
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]