Data Cahce not saving

Aug 8 2007 11:03 AM

I am developing a asp.net (2.0) application which uses data caching to save data until the user completes all the tasks. I am using the following commands:

 

        Cache.Insert("Allocations" + strCacheNo, dtAllocations, null, System.Web.Caching.Cache.NoAbsoluteExpiration, TimeSpan.FromMinutes(60), CacheItemPriority.High, null);

        Cache.Insert("Postings" + strCacheNo, dtPosting, null, System.Web.Caching.Cache.NoAbsoluteExpiration, TimeSpan.FromMinutes(60), CacheItemPriority.High, null);

 

dtAllocations and dtPostings are .net data tables.

 

On my development laptop this works fine, I can load the data, add to it and re cache it no problems.

 

When I loaded it on the test PC it doesn’t appear to cache at all. Any ideas on what my problem is?