application.cfc in folder: /rittalxpress/cart
<cfcomponent output="false">
<!--- Name the application. --->
<!--- <cfset this.name = "Website"> --->
<!--- Turn on session management. --->
<cfset this.sessionManagement = true>
<cfset this.clientManagement = true>
<cffunction name="onSessionStart" returnType="void" output="false">
<cfobject type="component" name="SESSION.myShoppingCart"
component="rittalxpress.cart.ShoppingCart">
</cffunction>
</cfcomponent>
in application.cfm in / root folder
<cfapplication name="Website" clientmanagement="yes"
sessionmanagement="yes" sessiontimeout="#CreateTimeSpan(0,1,0,0)#">
and a bunch of other stuff only this. stuff is
<!--- The web.xml welcome-file-list includes index.cfm.
To allow web browsing, specify index.cfm in This.welcomFileList. --->
<cfset This.welcomeFileList="index.cfm">
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324651
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4