How about a single application that loads both XML files, and stores them in application.language.french and application.language.english. Then based on the URL, set request.language to one of the two values application.langauge variables, and use that throughout your application for all your lookup tasks.
cheers, barneyb On 6/23/05, Dharmesh Goel <[EMAIL PROTECTED]> wrote: > Hello, > > Am trying to find the best approach for this problem. > > Application Aim/Need: Display English or French based on URL entered. > Application is login based and aim is to store language specific (as well as > some config settings) information in Application Scope for an extended period > of time. This saves us from going to disk, reading xml file and parsing on > every login or every page or every session. > > CFMX 7 > one physical directory: c:\wwwroot\app > two virtual directories: www.website.com\abc and www.website.com\123 > both virtual directories point to c:\wwwroot\app > > Both set of users arrive on login.cfm > Based on what website address you use, login.cfm will parse through one of > two xml files. > www.website.com\abc will pickup english.xml > www.website.com\123 will pickup french.xml > > XML file is parsed through and placed in the Application scope. I need to > have two distinct application names to keep both sets of XML data separate. > Any tips on how to best accomplish this. I can think of placing a few cfif's > in the application.cfm and dynamically setting the application name. But I am > not sure if that is advisable. > > Thank you, > > Dharmesh Goel > -- 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:210445 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

