RE: Sharing Data Between Applications

2008-10-15 Thread Jaime Metcher
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

Re: Sharing Data Between Applications

2008-10-15 Thread Jason Fisher
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

RE: Sharing Data Between Applications

2008-10-15 Thread Adrian Lynch
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

Re: Sharing Data Between Applications

2008-10-15 Thread Jason Fisher
@ 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

Re: Sharing Data Between Applications

2008-10-15 Thread Ryan J. Heldt
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*,

Re: Sharing Data Between Applications

2008-10-15 Thread Jason Fisher
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

RE: Sharing Data Between Applications

2008-10-15 Thread Adrian Lynch
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