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. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Keith
    Replies:
    0
    Views:
    532
    Keith
    Oct 1, 2003
  2. Brian

    CacheDependency

    Brian, Dec 20, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    561
    Brian
    Dec 20, 2003
  3. Dave S

    cachedependency not working ?

    Dave S, Jul 21, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    792
    Dave S
    Jul 21, 2004
  4. TJO
    Replies:
    3
    Views:
    736
  5. Keith
    Replies:
    2
    Views:
    160
    Keith
    Oct 2, 2003
Loading...

Share This Page