Re: 2 applications on one server

2009-04-16 Thread Richard White
thanks for all your comments, i also read that in the documentation but it didn't even register that this.name and application.name wouldn't be equivalent... but it does make sense thanks again for the help > > thanks for your comments it is now seperating the 2 but the names > were differen

Re: 2 applications on one server

2009-04-16 Thread Ian Skinner
Richard White wrote: > why would changing it from 'application' to 'this' rectify this conflict > > thanks > Because it does! :-) I don't know why this is but "this.name" and the equivalent don't set a variable names "application.name" they set a variable named "application.applicationName

Re: 2 applications on one server

2009-04-16 Thread Dave Watts
> thanks for your comments it is now seperating the 2 but the names were > different the only > thing we changed was: > > > > > to > > > > > why would changing it from 'application' to 'this' rectify this conflict Within Application.cfc, "this.name" is how you name an application, and "appli

Re: 2 applications on one server

2009-04-16 Thread Dave Watts
> If the application "name" is the same in both directories they will share > the same application scope. Yeah, I would have thought that went without saying, but I guess not. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-author

Re: 2 applications on one server

2009-04-16 Thread Richard White
thanks for your comments it is now seperating the 2 but the names were different the only thing we changed was: to why would changing it from 'application' to 'this' rectify this conflict thanks > Richard White wrote: > > we have 2 different directories for both applications however w

RE: 2 applications on one server

2009-04-16 Thread Mark Kruger
igleaf.com] Sent: Thursday, April 16, 2009 12:26 PM To: cf-talk Subject: Re: 2 applications on one server > we have 2 different directories for both applications however will the > application scope conflict? Not if your applications, and the components they use, are within two com

Re: 2 applications on one server

2009-04-16 Thread Dave Watts
> we have 2 different directories for both applications however will the > application scope > conflict? Not if your applications, and the components they use, are within two completely separate directories. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides

Re: 2 applications on one server

2009-04-16 Thread Ian Skinner
Richard White wrote: > we have 2 different directories for both applications however will the > application scope conflict? Ahh different issue. ColdFusion distinguishes different applications by the application name string. Any template, in any directory running under any application cfc or

Re: 2 applications on one server

2009-04-16 Thread Wil Genovese
not if you name each application with a unique name. We run thousands of applications on a single server, each with a unique name, and there are no problems. Wil Genovese One man with courage makes a majority. -Andrew Jackson A fine is a tax for doing wrong. A tax is a fine for doing well.

Re: 2 applications on one server

2009-04-16 Thread Richard White
we have 2 different directories for both applications however will the application scope conflict? we use modelglue and coldspring which loads items into the application scope, but we are noticing these are conflicting... it seems as though when we go to one application it is overwriting the a

Re: 2 applications on one server

2009-04-16 Thread Ian Skinner
Richard White wrote: > basically i am confused as to how this works with 2 application.cfc's > > each one of the applications should be totally seperate but how does > coldfusion know which application.cfc to use and how come they dont conflict > with each other? As the documentation discuss in

Re: 2 applications on one server

2009-04-16 Thread Dave Watts
> each one of the applications should be totally seperate but how does > coldfusion know > which application.cfc to use and how come they dont conflict with each other? When you run a CF file, CF looks within the directory of that file for Application.cfc or Application.cfm. If it doesn't find e

2 applications on one server

2009-04-16 Thread Richard White
hi we are trying to place 2 applications on one vps for the first time and would like some guidance on whether there is anything we need to think about in terms of conflicts etc... basically i am confused as to how this works with 2 application.cfc's each one of the applications should be tot