Example #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     Thread.Sleep(500);
     Session["LastPage"]  = "Frame3";
     Session["UtcNow"]    = DateTime.UtcNow;
     Session["BigObject"] = new ExponentiallyChunkyThing(5);
 }
Example #2
0
        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);
        }
Example #3
0
 protected void Page_Load(object sender, EventArgs e)
 {
     Thread.Sleep(500);
       Session["LastPage"] = "Frame3";
     Session["UtcNow"] = DateTime.UtcNow;
     Session["BigObject"] = new ExponentiallyChunkyThing(5);
 }
Example #4
0
 protected override void OnLoad(EventArgs e)
 {
     base.OnLoad(e);
     Session["LastPage"] = "Default";
     Session["UtcNow"] = DateTime.UtcNow;
     Session["BigObject"] = new ExponentiallyChunkyThing(2);
 }
Example #5
0
        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);
        }
Example #6
0
 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);
 }