>Hello, > >I am having the worst time with the Application scope. I thought that if I >define APplication.DSN sometime after this initialized, it will be set >until it times out. HOwever, this block of code gets executed each time I >go to a new page, and the Application.name gets redefined.. ANy ideas what >I am doing wrong? > > <cfif not ISDefined("Application.DSN")> > <cfparam name="URL.DSN" default="cfbb_iaba"> > <cfapplication name="#URL.DSN#" sessionmanagement="Yes" > clientmanagement="Yes" sessiontimeout="#CreateTimeSpan(0,0,40,0)#" > applicationtimeout="#CreateTimeSpan(0,0,20,0)#"> ></cfif> > >Also, don't how do you reference #Application.name# set above, That is >invalid variable >? > >Thanks > >Sincerely, > >Sean Hynes >Customer Service: 678.528.9606 >President - WebLogix >http://www.weblogixinc.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187531 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54