Would it be better to have these variables in the application scope
over the request scope as they should exist for the entire application
rather than single page request?
This beginning to confuse me even more....
On Apr 23, 6:53 pm, "Peter Tilbrook" <[EMAIL PROTECTED]> wrote:
> Request scope variables only exist for the duration of a page request. They
> don't consume RAM like Application variables do. And are ideal for what you
> are using Application vars for.
>
> Best defined in Application.cfm as it is executed before all other
> templates: eg:
>
> <cfsilent>
>
> <cfapplication name="MyApp_WWW_23APR2007" setclientcookies="yes"
> setdomaincookies="yes" sessionmanagement="Yes" clientmanagement="yes"
> clientstorage="cookie">
>
> <cfparam name="Request.DataSourceName" default="MyApp">
> <cfparam name="Request.DatabaseTablePrefix" default="MyApp">
> <cfparam name="Request.ApplicationTitle" default="MyApp">
> <cfparam name="Request.CopyrightYear" default="#DateFormat(Now(), "yyyy")#">
> <cfparam name="Request.FlashFormSkin" default="haloblue">
> <cfparam name="Request.FlashFormSkinInterior" default="haloorange">
> <cfparam name="Request.FlashFormSkinExterior" default="halogreen">
> <cfparam name="Request.FlashFormBackgroundColour"
> default="background-color:##ffffff;">
> <cfset Request.NewLocale = SetLocale("EN_AU")>
>
> <cfinclude template="inc_custom_functions.cfm">
>
> </cfsilent>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---