Couple of quick answers: 1) The cfapplication tag doesn't have anything to do with the template Application.cfm in spite of the fact that it's usually found in this template. The reason it's usually there is more a matter of convenience than anything else -- it's easier to declare the application in that file so that all pages within the directory are then within the same application because the file is included at the beginning of every request.
2) A single template can not reference multiple applications simultaneously. The name attribute of the cfapplication tag does identify your application, however, within standard CFML, there is only one application scope. Using the cfapplication tag multiple times within a template (with different names) will switch the template between those applications. So if you put 3 cfapplication tags in your application.cfm template, only the last tag will have any effect on the subsequent code. 3) Sessions are isolated to a specific application. So if you have two applications named "hhp" and "hhp2" an individual user will have a session for each application. In this way if your login for hhp and hhp2 both function the same way (using the same session variables), the user will still need to be log in to each application individually. The reason they appear logged in to all three applications now is because all 3 applications have the same name. Change the name for the other 2 applications so that all 3 are unique and they should work fine, however, see 2 above. 4) If you need to separate applications which execute within the same directory, they can actually share a cfapplication tag without sharing an application scope. You can do this by providing the cfapplication tag with a variable in the name attribute: <cfapplication name="#cgi.server_name#"> hth s. isaac dealey 954.522.6080 new epoch : isn't it time for a change? add features without fixtures with the onTap open source framework http://www.fusiontap.com http://coldfusion.sys-con.com/author/4806Dealey.htm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:216062 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

