I have a situation where we have the same content stored on 2 different servers being 
accessed by 2 different CF servers.  The main server is where all editing occurs.  The 
second server has the content cached.  So, when I update a piece of content I copy it 
to the database on the second server, however, since the content is cached the old 
content is being displayed on second server.  How do I clear out the cache for the 
record on the second server after the change is copied to the second server?  

I've tried opening a second window using JavaScript with a http url pointing to the 
second cf server to a query that will clear the cache by setting the cache timespan to 
0.  I programatically open the window, call the query, then close the window.  It 
clears out the cache as long as I do not programatically close the window.

I've tried both get and post methods for <cfhttp> with the url for the query on the 
second server to clear out cache, but my page keeps hanging and eventually times out.

The problem at hand, is that I need to be in the memory space for the second server so 
I can clear out the cache for the particular piece of content.  So, it seems to me I 
need to call a parallel process.  Has anyone done something similar to this?  I 
appreciate your help.

Tom Schreck
[EMAIL PROTECTED]
817-252-4900

I have not failed.  I've found 10,000 ways that won't work.

- Thomas Edison


-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org

Reply via email to