Right! Your application.cfm should have the following for each
Request-scoped variable:
<CFSET Request.MyVar1 = "foo">
<CFSET Request.MyVar2 = "bar">
etc
That way your Request-scoped variables will contain a value and will be
available to each page.
If the value of your variable changes from page to page, then you really
shouldn't put it in Request scope.
best, paul
At 11:58 PM 12/5/00 -0800, you wrote:
>I followed a thread that Dave Watts uses request
>variables as constants that normally do not change. Actually that is
>exactly how I am using them but at times my request variables would become
>undefined. I don't understand why! When do request variables become
>undefined.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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