A
Arjen
Hi,
I'm using the cache block of the enterprise lib Jan. 2006.
There is somethings strange going on.
I add a varable to the cache, let's say the string myData.
string myData = "1111111";
primitivesCache.Add("Key1", myData, CacheItemPriority.Normal, null, new
SlidingTime(TimeSpan.FromMinutes(15)));
When I do after this line this:
myData = "*****";
And I get my data out of the cache manager then myData has the value of
*********. I also tried to load it inside an other variable. Again the
value is the same.
How is it posible that the data in the cache is changed? Or not added
liked I did?
Thanks!
Arjen
I'm using the cache block of the enterprise lib Jan. 2006.
There is somethings strange going on.
I add a varable to the cache, let's say the string myData.
string myData = "1111111";
primitivesCache.Add("Key1", myData, CacheItemPriority.Normal, null, new
SlidingTime(TimeSpan.FromMinutes(15)));
When I do after this line this:
myData = "*****";
And I get my data out of the cache manager then myData has the value of
*********. I also tried to load it inside an other variable. Again the
value is the same.
How is it posible that the data in the cache is changed? Or not added
liked I did?
Thanks!
Arjen