> 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>
  // application tracker object
  appObj = createObject("java",
"coldfusion.runtime.ApplicationScopeTracker");
  // get "external" app scope
  appScope = appObj.getApplicationScope("myappname");
</cfscript>

Note that this is "undocumented" and so could well change in a future
release of CF.  Also if the app name you give it doesn't exist it won't
error - you'll just get a java null value back, which CF isn't too hot
on handling...

For more info on using the ApplicationScopeTracker and similar
SessionTracker have a look at
http://tech.badpen.com/index.cfm?mode=entry&entry=3

HTH,

Tim.

-------------------------------------------------------
RAWNET LTD - Internet, New Media and ebusiness Gurus.
Visit our new website at http://www.rawnet.com for
more information about our company, or call us free
anytime on 0800 294 24 24.
-------------------------------------------------------
Tim Blair
Web Application Engineer, Rawnet Limited
Direct Phone : +44 (0) 1344 393 441
Switchboard : +44 (0) 1344 393 040
-------------------------------------------------------
This message may contain information which is legally
privileged and/or confidential.  If you are not the
intended recipient, you are hereby notified that any
unauthorised disclosure, copying, distribution or use
of this information is strictly prohibited. Such
notification notwithstanding, any comments, opinions,
information or conclusions expressed in this message
are those of the originator, not of rawnet limited,
unless otherwise explicitly and independently indicated
by an authorised representative of rawnet limited.
-------------------------------------------------------
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to