G
Guest
I set a Session object [Session["x"] = "44" in one page and retrieve it later in another page: String str = Session["x"].ToString().
The timeout in Web.config = 30;
I'm able to retrieve the value (str) anytime up to about 15 minutes after it's created, but not thereafter. Thereafter, I get a "object reference not set to an instance ..." messasge.
How can I retrieve the value of Session["x"] anytime up to 30 minutes?
The timeout in Web.config = 30;
I'm able to retrieve the value (str) anytime up to about 15 minutes after it's created, but not thereafter. Thereafter, I get a "object reference not set to an instance ..." messasge.
How can I retrieve the value of Session["x"] anytime up to 30 minutes?