Naftali,

I don't know why you are getting this error. Even on my other projects I
normally add a blank Html page with just this method:

        public int this_onBeforeDisplayEvent(CSpDisplayEvent event)
        {
                CSpider.clearCache();
                return (PROCEED);
        }

and I can just run this page to clear the cache instead of opening the
command center.


Create a project, say MyClearCache with just this kind of a page. Set the
'IsStartPage' property of the page to 'True' and run it like this:

http://<yourServerName or localhost here>/cgi-bin/ndISAPI.dll or
ndCGI/MyClearCache


Try this first on your machine and once it works put it on the production
machine. That way the administrator can run it from the browser.

Let me know if it worked for you.

-Nimmi

-----Original Message-----
From: Mendlowitz, Naftali (Exchange) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 11, 1999 9:58 AM
To: '[EMAIL PROTECTED]'
Subject: RE:Clear cache


I have tried using the method clearCache() (though not as a separate
project) but am getting the message "document contains no data". Would you
know why I am getting that method?
Basically what I am trying to do is make a clear cache button for the
administrator of our web application.


***********************************************************************
Bear Stearns is not responsible for any recommendation, solicitation, 
offer or agreement or any information about any transaction, customer 
account or account activity contained in this communication.
***********************************************************************
_________________________________________________________________________

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