On Mon, 28 Feb 2005 17:11:13 -0000, Adrian Lynch  wrote:
> Have you got an example for us?
> 

I can give you the basic process, but the code is far too complex to
actually do so.

I'm going to try to make this as non-confusing as posslbe (good luck to me).

App B includes application.cfm from App A.  App B's base URL is: 
http://ourserver/Administration.  App A's base URL is
http://ourserver/

App B's application.cfm:
1) Sets a few variables that aren't relevant.
2) Includes App A's application.cfm (see below)

App A's application.cfm:
1)  Includes a file which determines the application name variable
(iCFApplicationName):
     a)  If the URL of references the /Administration directory, sets
iCFApplicationName to be "OurAppAdmin" [not the real name]
     b) Otherwise, sets iCFApplicationName to be "OurApp"
2)  Has the <cfapplication> tag with this very basic syntax: 
<cfapplication name="#iCFApplicationName#" . . . . > [with other
attributes in there], so that App B's tag is effectively: 
<cfapplication name="OurAppAdmin" ...> and App A's tag is
<cfapplication name="OurApp" ...>

Is that a little more clear?

I'm going to see what happens if I change to jsessionid [if that
works, it will require other changes in our code, though].

Scott

-- 
-----------------------------------------
Scott Brady
http://www.scottbrady.net/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:196817
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