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:210504
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

Reply via email to