CacheDependency for filesystem not firing on file delete or change.

Discussion in 'ASP .Net' started by Weston Weems, May 27, 2005.

  1. Weston Weems

    Weston Weems Guest

    Hello...

    I insert cache items in a method with a dependency and a callback reference.
    I set a breakpoint in the callback, and it does get fired when I add new
    file into the folder, but I want to also take into account if a file gets
    deleted.

    I dont see it happening. Is this the desired functionality? Also, does the
    dependency for some reason keep a file handle open for the files int hat
    folder?

    Thanks in advance
    Weston Weems
     
    Weston Weems, May 27, 2005
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.