If you want some data to be shared by all sessions,
you can use globol session object.
Every session can access the globol session objects.
It is kind of slow if you need to change the value very often.
You have to lock the object before you change it.
If you only have one machine globol session object should be a good choice.
Paul <[EMAIL PROTECTED]> wrote:
>Hi,
>
>I wrote a few cache management classes that worked great running on a
>single CP, but when confronted with multiple CP's with their own virtual
>machines the caches are getting out of synch. For instance, if a user
>edits data using CP A, that data may not be updated in CP's B, C, or D.
>
>Is there any way to communicate across CP's?
>
>My little research has only turned up the following. Each might work,
>but I'm not sure what the best approach is.
>
>o CSpider.clearCache(CSpClassName projectName); // clears all CP's?
>rather brutal to performance
>
>o CSpider.clearChache(CSpClassName) seems most viable, but does it clear
>all CP's?
>
>o CSpider has access to something called a global session. Is it truly
>global, i.e., cross CP. Is it a user session thing or an
>application-wide session? Sorry, I couldn't find much documentation.
>
>o CSpDataCache
>
>Thanks for any help,
>Paul
>
_________________________________________________________________________
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]