the application tag enables session variables while the application is
running. That only needs to be set once. Then session variables can eb set
and maintained by cf. Application variabls will last the lifetime of the
application anyway.
-----Original Message-----
From: Kola Oyedeji [mailto:[EMAIL PROTECTED]]
Sent: 15 May 2001 11:26
To: CF-Talk
Subject: RE: Does application tag need to be executed every time?
Right, which means after the first execution there is no call to the
<application> tag
I thought that this would mean that none of my session vars or application
vars would work as
the application tag has not been called in this page request but they seem
to be fine?
KOLa
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 15 May 2001 11:08
To: CF-Talk
Subject: RE: Does application tag need to be executed every time?
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