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

Reply via email to