I should have clarified my intentions: I have a web site and an admin site.. The admin site uses session vars but the web site doesn't. So, I have two apps. One sets client cookies w/ session management on (the admin site); The main site is sessionless, cookieless etc. The main concern is passing config variables, such as DB usernames, passwords, root directories, web root dirs, etc, which I use throughout the applications. Textual vars such as DSN's can be called from included files, but two "directory" relevant piece of info is the physical "root" location of the site as well as the web root (incase a site is in a sub dir). These I set from the master directory, so the admin area knows where to upload files to based on the "root" value. I know i can find and replace for the subdirectory, but I hate hardcoding values in the apps. My current solution is writing the directory-based app vars to a text file from the root application, and reading them out from all included sub-apps.
What do you think? - j -----Original Message----- From: Nathan Stanford [mailto:[EMAIL PROTECTED]] Sent: Monday, May 06, 2002 3:54 PM To: CF-Talk Subject: RE: Application Var Sharing Question Why? Why would you do this? Explain and maybe we can give a better answer as to what would be best to do. Nathan -----Original Message----- From: Jim Curran [mailto:[EMAIL PROTECTED]] Sent: Monday, May 06, 2002 2:47 PM To: CF-Talk Subject: Application Var Sharing Hello, Is there any way to share application variables between different applications? - j ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

