CacheDependency

Discussion in 'ASP .Net' started by Brian, Dec 20, 2003.

  1. Brian

    Brian Guest

    Hi~

    I use ASP.NET (framework 1.1 and windows 2003 server-)
    Cache works well but it never expires with the
    CacheDependency object and Expire Time Setting.

    In Windows XP, as far as I remember, It really Does Works

    (Code)
    CacheDependency dep=new CacheDependency(Server.MapPath
    ("my.xml"));
    if(Cache["Count"]==null)
    Cache.Insert("Count", 0, dep);

    Cache["Count"] = (int)Cache["Count"] + 1;
     
    Brian, Dec 20, 2003
    #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. Dave S

    cachedependency not working ?

    Dave S, Jul 21, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    889
    Dave S
    Jul 21, 2004
  3. =?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
  4. Weston Weems
    Replies:
    0
    Views:
    555
    Weston Weems
    May 27, 2005
  5. TJO
    Replies:
    3
    Views:
    949
  6. Dave
    Replies:
    3
    Views:
    472
  7. Keith
    Replies:
    2
    Views:
    296
    Keith
    Oct 2, 2003
Loading...