You can save your data during a HttpRequest by passing it to System.Web.HttpContext.Current.Items[itemKey]. Objects stored in this Collection will be available during the whole lifecycle of the HttpRequest.
Example of usage:
System.Web.HttpContext.Current.Items["reloadCount"] = 5;
int reloadCount = (int) System.Web.HttpContext.Current.Items["reloadCount"];
Remember Me
Powered by: www.ie-soft.de
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.
© Copyright 2010, Manuel Trunk
E-mail