Now, how could I call this same object from the differenct
application? You would think since it is in memory, there has
to be way that I can retreive it.
You can use the underlying java of CF to get a hold of the application
scope for any currently active application:
cfscript
//
Thanks Tim! I will definitely try that out.
Ricky
_
From: Tim Blair [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 10, 2003 3:34 AM
To: CF-Talk
Subject: RE: Application variables between two applications
Now, how could I call this same object from the differenct
application? You
Is the Admin tool _for_ the other web site? If so, then just share
application names. Otherwise, you can consider using server variables to
share data between the apps. Other options include using the ServiceFactory
methods which are not supported but work pretty well.
[Todays Threads]
[This
have to use the
server scope that is ok.
Ricky
_
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 09, 2003 10:40 AM
To: CF-Talk
Subject: RE: Application variables between two applications
Is the Admin tool _for_ the other web site? If so, then just share
application
The admin tool is for the other website. So in a nutshell,
are you suggesting that I just rename the application name in
the other website to match name of the application in the admin?
No, not if the applications aren't truly the same.
Server variables - hmm...that might be a thought.
_
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 09, 2003 11:00 AM
To: CF-Talk
Subject: RE: Application variables between two applications
The admin tool is for the other website. So in a nutshell,
are you suggesting that I just rename the application name
Subject: RE: Application variables between two applications
I have all the business logic in CFC's, but I am using many objects for
these CFC's that pull the data in the application scope.
For example, in my admin application I am using this to refresh my data set
once the data has been manipulated
What about using the server scope?
Bert
-Original Message-
From: Ricky Fritzsching [mailto:[EMAIL PROTECTED]
Sent: 09 December 2003 16:21
To: CF-Talk
Subject: Application variables between two applications
I have an administrative application that has persistent application
variables
9:49 AM
To: CF-Talk
Subject: RE: Application variables between two applications
I would guess this is the reason for naming the application so that you
_cannot_ access the variables from other applications.Imagine if you
stored sensitive data in one application and it was somehow available within
There was thread on this just a few days ago on alt.comp.lang.coldfusion -
see it here:
http://groups.google.com/groups?hl=en
http://groups.google.com/groups?hl=enlr=ie=UTF-8oe=UTF-8threadm=bqtqji0
365%40enews1.newsguy.comrnum=1
lr=ie=UTF-8oe=UTF-8threadm=bqtqji0365%40enews1.newsguy.comrnum=1
10 matches
Mail list logo