There is another way to clear the cache besides command center.
I created a ND project ClearCache which has only one page. In the
onBeforeDisplayEvent of the page I have put:
public int this_onBeforeDisplayEvent(CSpDisplayEvent event)
{
CSpider.clearCache();
return (STOP);
}
That's about all. Now all I need to do to clear the cache is to run the
project. I put the project in the production m/c and the the good thing is
that I can clear the cache on the production box remotely
-Nimmi
-----Original Message-----
From: nmendlow [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 10, 1999 1:42 PM
To: [EMAIL PROTECTED]
Subject: [ND] will somebody please answer this
am trying to figure out how i can manually clear cache in nd4. The old way
to do it
was to
broadcastAdminMessage(CLEAR_CACHE) but that is deprecated.The
manual says that
CSpider.clearCache() is for internal use only .What then are my
options if i want to clear cache
manually?
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]