Funny coincidence that the "Witango-Talk: Load Balancing - Clear Cache" thread just started.

I don't see how setting domainscopekey to a constant would make any difference except to avoid having duplicate vars in memory if users access via http://site.com and http://www.site.com.

More searching the help files suggests <@PURGECACHE [PATH=pathToPurge] [TYPES=all|taf|include]> might do the trick. Except what do I use for path?

Suspect the change of domain scope to use system scope variabletimeout is probably the root cause. In Witango 4 you could set domain scope variabletimeout seperately from system scope. I was setting domain scope variabletimeout to 240 minutes until converted from 4 to 5.5 earlier this year and had to remove it.

-> Kent

On 10/11/2007 10:58 AM, Jesse Parker wrote:
Check your domainscopekey.  I think it is <@CGIPARAM SERVER_NAME>, which
means that http://site.com and http://www.site.com will appear as separate
domain scopes.  You can choose to make this a constant (e.g. "myDomainName")
and then there will be one domain scope for your whole server.  Maybe this
will help?  Otherwise, it's a strange problem!

-----Original Message-----
From: Kent Swisher [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 11, 2007 1:53 PM
To: Witango Talk
Subject: Witango-Talk: Domain scope variables and cache files


I use domain scoped variables (arrays) to cache frequently used select
list values that change infrequently.  If I remember correctly, domain
scoped variables are saved to a cache file when the server is shut down
gracefully.  Is this correct?

If so, is there a way to update the cache without shutting down the
server?  We recently had a problem where the domain scoped vars reverted
to older values and can't think of any explanation except that the
server may have hiccuped and restored the domain variables from an
outdated cache.  I trap for empty domain var to know when to re-querying
the DB to refresh domain variable.

Maybe I need to switch to application scope var so I can set a variable
timeout?


-> Kent Swisher                  Engineering Tools
-> Alcatel-Lucent                Application Support Engineer
-> Wireline Access Products      [EMAIL PROTECTED]
-> Petaluma, CA                  707-792-7116  (on net 2-855-7116)
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to