Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HttpContext.Current.Items reused?

I'm using HttpContext.Current.Items to make a Per-Request Cache Store. I'm experiencing strange problems because I'm hitting to many Cache entries over different http requests.

It seems that HttpContext.Current.Items is reused across multiple http requests. Is it normal?

like image 435
Ricibald Avatar asked Jan 27 '11 16:01

Ricibald


1 Answers

It was my fault. I was saving HttpContext.Current.Items in a static variable...

like image 169
Ricibald Avatar answered Sep 27 '22 21:09

Ricibald