I am creating a project using ASP.NET MVC 3. So now I need to pass some data that need to be available into the entire project.
I am using IHttpModule and set values in the HttpContext items. My doubt is, the values I add into HttpContext items will be exclusive values for each user session or will be the same?
public class BaseHttpModule : IHttpModule
{
context.BeginRequest += context_BeginRequest;
private void context_BeginRequest(object sender, EventArgs e)
{
var application = (HttpApplication)sender;
var context = application.Context;
context.Items[Key] = "value1";
}
}