It's only going to execute if application.name is not defined.

-----Original Message-----
From: Kola Oyedeji [mailto:[EMAIL PROTECTED]]
Sent: 14 May 2001 15:15
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