protected void Page_Load(object sender, EventArgs e) { Thread.Sleep(500); Session["LastPage"] = "Frame3"; Session["UtcNow"] = DateTime.UtcNow; Session["BigObject"] = new ExponentiallyChunkyThing(5); }
protected override void OnLoad(EventArgs e) { Session["LastPage"] = "Default"; Session["UtcNow"] = DateTime.UtcNow; Session["BigObject"] = new ExponentiallyChunkyThing(2); Session["ADecimal"] = 10203040.5060706070809m; Session["NotExplicitlySavedRefObject"] = new ExponentiallyChunkyThing(3); var notExpicitlySavedRefObject = (ExponentiallyChunkyThing)Session["NotExplicitlySavedRefObject"]; notExpicitlySavedRefObject.BigTexts = new string[] { "test" }; var notExplicitlyGottenRefObject = new ExponentiallyChunkyThing(2); Session["NotExplicitlyGottenRefObject"] = notExplicitlyGottenRefObject; notExplicitlyGottenRefObject.BigTexts = new string[] { "test 2" }; var redirectTest = new List <int> { 0 }; Session["RedirectTest"] = redirectTest; base.OnLoad(e); }
protected override void OnLoad(EventArgs e) { base.OnLoad(e); Session["LastPage"] = "Default"; Session["UtcNow"] = DateTime.UtcNow; Session["BigObject"] = new ExponentiallyChunkyThing(2); }
protected override void OnLoad(EventArgs e) { Session["LastPage"] = "Default"; Session["UtcNow"] = DateTime.UtcNow; Session["BigObject"] = new ExponentiallyChunkyThing(2); Session["ADecimal"] = 10203040.5060706070809m; Session["NotExplicitlySavedRefObject"] = new ExponentiallyChunkyThing(3); var notExpicitlySavedRefObject = (ExponentiallyChunkyThing)Session["NotExplicitlySavedRefObject"]; notExpicitlySavedRefObject.BigTexts = new string[] { "test" }; var notExplicitlyGottenRefObject = new ExponentiallyChunkyThing(2); Session["NotExplicitlyGottenRefObject"] = notExplicitlyGottenRefObject; notExplicitlyGottenRefObject.BigTexts = new string[] { "test 2" }; var redirectTest = new List<int> { 0 }; Session["RedirectTest"] = redirectTest; base.OnLoad(e); }
protected void Page_Load(object sender, EventArgs e) { Session["LastPage"] = "Frame2"; Session["UtcNow"] = DateTime.UtcNow; Session["BigObject"] = new ExponentiallyChunkyThing(4); }
protected void Page_Load(object sender, EventArgs e) { Session["LastPage"] = "ReadonlyFrame"; Session["UtcNow"] = DateTime.UtcNow; Session["BigObject"] = new ExponentiallyChunkyThing(4); }