Thanks Barney. The application is exactly how you described it. There would be very little duplication of caching. This was actually a retrofit app and too late to implement some of the design ideas I received here. However this will help immensely in similar future apps.
Thanks again, Dharmesh -----Original Message----- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Friday, June 24, 2005 7:00 PM To: CF-Talk Subject: Re: cfapplication - change application name It's exactly what you proposed doing originally. The biggest potential issue is that you've got two application scopes for your one app. That means you're double caching everything except your region-specific stuff. If that's all you've got, then no big deal, but if you've got application components and such (particularly ones with internal state), then you're going to run into problems. cheers, barneyb On 6/24/05, Dharmesh Goel <[EMAIL PROTECTED]> wrote: > Hi Isaac and Barney, > > Thanks for your tips. I will keep them in mind. In reference to my original > question, do you see any issues with this code? > > <cfparam name="Region" default="English"> > <cfif cgi.script_name contains "/site1/"> > <cfset Region = "French"> > <cfelseif cgi.script_name contains "/site2/"> > <cfset Region = "English"> > </cfif> > > <CFAPPLICATION NAME="#Region#" SESSIONMANAGEMENT="YES" > applicationtimeout="#CreateTimeSpan(0, 5, 0, 0)#" > SESSIONTIMEOUT="#CreateTimeSpan(0, 5, 0, 0)#"> > > Thanks, > > Dharmesh -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:210512 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

