We can store Objects in HTTPContext.Current.Items for small usages.we can add objects into Items collection just like normal Collections we are using.
LIST
if(listEmployee == null)
{
listEmployee = Getyourdata();
HTTPContext.Current.Items["Key"] = listEmployee ;
}
Tuesday, January 13, 2009
State Management - HTTPContext.Current.Items
Category:
.NET,
ASP.NET,
ASP.NET 2.0
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment