Hi,
I'm creating a dynamic image using HttpHandler and I'm trying to saving it into server cache system using HttpRuntime.Cache[key] = imageContent;
But it seems it has a very strange behaviour because at 2-3 requests after the one in which has the image been generated the HttpRuntime.Cache[key] == null, and the image is once again generated. I even tried to put in the server cache with a expire time of 2 days.
Does anyone know why it has this behaviour?...Is there a restriction of using Cache into a HttpHandler.
Thx in advance!
I'm creating a dynamic image using HttpHandler and I'm trying to saving it into server cache system using HttpRuntime.Cache[key] = imageContent;
But it seems it has a very strange behaviour because at 2-3 requests after the one in which has the image been generated the HttpRuntime.Cache[key] == null, and the image is once again generated. I even tried to put in the server cache with a expire time of 2 days.
Does anyone know why it has this behaviour?...Is there a restriction of using Cache into a HttpHandler.
Thx in advance!