I have the following code:
myCache = CType(context.Cache(cacheName), WebControls.Table)
If myCache Is Nothing Then
callProcessMenu()
context.Cache.Insert(cacheName, ucTblMainMenu, New Caching.CacheDependency(_ucXMLSchema)))
myCache = CType(context.Cache(cacheName), WebControls.Table)
Else
'Read from Cache
End If
-----------------------------------
In the above code _ucXMLSchema points to a file on the machine.
When I delete the file the Cache does not get deleted.
Am I missing something. I was expecting the cache to be destroyed when I delete the File.
I am working on XP Professional.
Thanks
---
Alvin Bruney [MVP] - 16 Jun 2004 03:00 GMT
what is myCache - this vb syntax is bugging me out. typically, the return
call needs to be set to the cache item call back. dunno how vb works that
out

Signature
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
>I have the following code:
>
[quoted text clipped - 26 lines]
> Our newsgroup
> engine supports Post Alerts, Ratings, and Searching.