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

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:
    671
    Keith
    Oct 1, 2003
  2. Brian

    CacheDependency

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

    cachedependency not working ?

    Dave S, Jul 21, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    888
    Dave S
    Jul 21, 2004
  4. =?Utf-8?B?RGlmZmlkZW50?=

    CacheDependency to Oracle table

    =?Utf-8?B?RGlmZmlkZW50?=, Jan 7, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    2,067
    Saravana
    Jan 7, 2005
  5. TJO
    Replies:
    3
    Views:
    949
  6. Dave
    Replies:
    3
    Views:
    472
  7. Keith
    Replies:
    2
    Views:
    296
    Keith
    Oct 2, 2003
  8. PerlFAQ Server
    Replies:
    0
    Views:
    592
    PerlFAQ Server
    Feb 24, 2011
Loading...