Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > CacheDependency

Reply
Thread Tools

CacheDependency

 
 
Brian
Guest
Posts: n/a
 
      12-20-2003
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;
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CacheDependency with File Dependency TJO ASP .Net 3 12-08-2005 11:50 PM
CacheDependency for filesystem not firing on file delete or change. Weston Weems ASP .Net 0 05-27-2005 06:36 PM
CacheDependency to Oracle table =?Utf-8?B?RGlmZmlkZW50?= ASP .Net 1 01-07-2005 11:13 PM
cachedependency not working ? Dave S ASP .Net 0 07-21-2004 07:48 AM
File locked by another process when cached with CacheDependency Keith ASP .Net 0 10-01-2003 09:29 PM



Advertisments