L PROTECTED]
> Sent: Thursday, 16 October 2008 12:09 AM
> To: cf-talk
> Subject: Re: Sharing Data Between Applications
>
> Hey, thanks for responding. Creating a shared data source
> like you mention would work, however this this data I'm
> wanting to share is probably go
Except that Server scope is as 'sticky' than application scope, since both
exist between service starts. If you want a new check per user / per use, but
not on every request, then I would still prefer to use the Session (or Client)
scope instead of Application.
Just my 2c
>But then you're stu
t: 15 October 2008 17:12
To: cf-talk
Subject: Re: Sharing Data Between Applications
@ Ryan,
Then query your admin datasource only once, onApplicationStart, and load the
data you need into your application scope, either as a query or a struct or
whatever makes sense for the
@ Ryan,
Then query your admin datasource only once, onApplicationStart, and load the
data you need into your application scope, either as a query or a struct or
whatever makes sense for the data.
application.adminSettings = myAdminDatasourceQuery;
That way, you're getting direct data from your
Hey, thanks for responding. Creating a shared data source like you
mention would work, however this this data I'm wanting to share is
probably going accessed on every page request, so hitting the database
on every request is something I would like to try to avoid, if possible.
*Ryan J. Heldt*,
To clarify a bit on Adrian's suggestion, allow the other applications to access
the database of the core management application. One suggestion is to create a
read-only datasource to that database and use that new DSN when accessing from
the 'other' applications.
Example:
adminSource: datasour
The simplest way might be a shared data source.
Adrian
Building a database of ColdFusion errors at http://cferror.org/
-Original Message-
From: Ryan J. Heldt
Sent: 15 October 2008 04:11
To: cf-talk
Subject: Sharing Data Between Applications
Everyone-
I have a situation where we need to
7 matches
Mail list logo