Cache - HttpHandler

Joined
Oct 24, 2006
Messages
4
Reaction score
0
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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,102
Messages
2,570,645
Members
47,244
Latest member
OdessaH562

Latest Threads

Top