Dave Watts wrote:
> 
> Set a flag or flags somewhere that all the servers can see, and have them
> check the flag or flags periodically. Alternatively, have each server send
> an HTTP request to the others, to have them update their cache. This kind of
> thing is well-suited for the event gateway, actually, so that you don't have
> to wait for this to be processed to continue with the page in question.

That's a good point, since event gateways run in the instances they're 
started in.. I could actually have a database table with a flag in it 
for each instance.. and have the event gateway fire off and check the 
database table.. if the flag for the specific instance is set to "1", 
then reload the app scope and reset the flag to 0.

Can a coldfusion request know the name of the instance it's running in? 
  I guess I could just dump the server scope and probably find something 
in there related to the instance....

Rick

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260786
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to