Yes.  It sets the environment for the current request.  The name attribute
of the CFAPPLICATION tag determines which application variables can be seen
by the current request.

                                                    
Bryan Love ACP
Internet Application Developer
[EMAIL PROTECTED]
                                                    


-----Original Message-----
From: Kola Oyedeji [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 14, 2001 7:15 AM
To: CF-Talk
Subject: Does application tag need to be executed every time?



I have this code in my application tag:

<cfif NOT isDefined("application.name")>
                        <cfapplication name="myapp"
                        sessionmanagement="Yes"
                        sessiontimeout="#CreateTimeSpan(0,4,0,0)#"
                        >

                        <cfset application.name="myapp" >

</cfif>

All the session/application vars seem to be fine
Does the application tag have to be executed on every page request? If so
why?

Thanks

KOla
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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