This is a thing that confuses me. My book showed me how to set up an
application.CFC file, but did not show <cfapplication> in the file, as it is in
application.CFM. I then assumed that I didnââ¬â¢t need <cfapplication>,
maybe somehow ColdFusion took care of it. Iââ¬â¢ll try it. Lewis
> So does <cfapplication> still get processed (I'm not sure where it\
I'm jumping into the middle of this topic so forgive me if this has been
answered before.
With application.cfc that functionality of the old <cfapplication...> tag has
been replaced with the 'this' scope of the CFC.
Here is an example from one of my application.cfc files.
<cfcomponent>
<cfscript>
This.name = "Playground";
This.clientmanagement = false;
This.loginstorage = "Session";
This.sessionmanagement = "True";
This.sessiontimeout = "#createtimespan(0,0,10,0)#";
This.applicationtimeout = "#createtimespan(5,0,0,0)#";
</cfscript>
--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
---------
| 1 | |
--------- Binary Soduko
| | |
---------
"C code. C code run. Run code run. Please!"
- Cynthia Dunning
Confidentiality Notice: This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://www.fusionauthority.com/quarterly
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:247637
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4