Thanks Shawn. We were hoping to avoid a database hit on every page. I think our best solution is to use ONE application.cfm file, and structures to keep our variable names separate from each other. Somthing like App1.Username, App2., App3.User - the use of the structures will avoid variables with common names.
Such is life.... Shawn Grover -----Original Message----- From: Shawn Regan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 4:34 PM To: CF-Talk Subject: RE: Urgent - Muliple CF Applications with common sessions? One way I have heard of it done is to store the common session vars in a database, which all the applications can access. HTH Shawn Regan pacifictechnologysolutions 15530-B Rockfield Blvd. Suite 4 Irvine, CA 92618 949.830.1623 w w w . p t s 1 . c o m -----Original Message----- From: Shawn Grover [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 3:19 PM To: CF-Talk Subject: Urgent - Muliple CF Applications with common sessions? My appologies if this is a double post, but I've yet to see the email posted back to me (therefore, I'm not sure if anyone else has seen it, even though it is in the archives). > We have built a common logon system for a few of our applications. This > logon system sets some session variables, but these vars don't appear to > be available in the other applications. > > Each application has it's own directory below wwwroot and it's own > application.cfm file with the CFApplication tag. Each CFApplication tag > specifies a different application name. Is this the cause of the session > variable problem? (i.e. application A sets a session variable, but > application B cannot see it.) If so, how has anyone else handled this? > The easiest ways I can think of are to create a common application.cfm > file which includes a file from each application to setup their > environment. Either that, or get creative with CFHTTP and post form data > to a "setVars.cfm" page in each application which would setup their > session variables. Can't really think of any other way around the > problem. > > Thanks for any input. > > Shawn Grover ______________________________________________________________________ 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

