[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.caching

HttpRuntime Cache not working in a HttpHandler

calculator

4/5/2010 2:41:00 AM

Hi all,

Anyone aware why HttpRunTime.Cache may not be holding data between different
requests when used in a custom httphandler ?

If i use the same functionality within a .ashx page this seems to work fine
however in a custom httphandler at the end of the ProcessRequest function any
data added to the Cache is removed (with a reasoncode "Removed").

I tried setting the IsReusable Property to "true" but I this property is
more for multiple requests at the same time to the server rather than
requests which may occur some time apart.

Thanks in advance for any suggestions.