I have tried using CSpider.clearCache() but have been getting some kind of error.The 
manual says it is for internal use only.Have you been having any problems using it or 
is the difference that you are coding it as a seperate project? 


Shamdasani Nimmi-ANS004 <[EMAIL PROTECTED]> wrote:
>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-----
>Sent: Wednesday, November 10, 1999 1:42 PM
>
>
>
> 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]

Reply via email to