P
pietaster
I really dont know what I should do. I am asking for best practices.
currently I create my properties by doing this.
Context.Items.Add("Info", new Info(Request.QueryString["acct"],
Request.QueryString["option"]));
Info is a class that I call that places all data retrieved from a db
into public properties.
I get the data by:
Info my = (Info) HttpContext.Current.Items["Info"];
but as you all know this does not work because Context is for current
request.
I have multiple tabs and I bring all my data in at the beginning and
then by using public properties I populate the different tabs.
What can I do that will ensure I am able to retrieve my public
properties for each tab. I'm sure I need to use session but I am not
sure the best way.
Please help,
Thanks pietaster
currently I create my properties by doing this.
Context.Items.Add("Info", new Info(Request.QueryString["acct"],
Request.QueryString["option"]));
Info is a class that I call that places all data retrieved from a db
into public properties.
I get the data by:
Info my = (Info) HttpContext.Current.Items["Info"];
but as you all know this does not work because Context is for current
request.
I have multiple tabs and I bring all my data in at the beginning and
then by using public properties I populate the different tabs.
What can I do that will ensure I am able to retrieve my public
properties for each tab. I'm sure I need to use session but I am not
sure the best way.
Please help,
Thanks pietaster