[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] wrote:
> I am trying to determine if a DataSet I am returning, from a > web service, is comming from the cache or is being rebuilt. > I have set the cache to 30 days. The dataset is of > significant size, consequently, I have to determine wether to > hit the cache, a local database (and rebuild the cache), or a > remote database (and rebuild the cache and local database). You mean the person calling the WebService needs to know if it's coming from the cache? How are you caching the DataSet right now? Are you using the WebMethodAttribute::CacheDuration property or are you working with the cache internal to the method yourself? With the answer to these questions we should be able to help you come up with a solution. Thanx, Drew .NET MVP You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.