views:

37

answers:

1

I'm looking for a Per Request place to store some variables. I thought there was a name/value dictionary on HttpRequest, but I don't see one (besides Cookies or ServerVariables). This App is .Net 3.5.

Can anyone suggest a Per Request storage area?

--Thanks

+2  A: 

HttpContext.Items is a per-request store. If you don't already have reference to the context, you can access the current context by System.Web.HttpContext.Current.Items.

Matti Virkkunen
+1 You beat me to it :)
Kyle B.
Thanks -- I knew it was there, somewhere
Chris