예제 #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);
 }
예제 #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);
        }
예제 #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);
 }
예제 #4
0
 protected override void OnLoad(EventArgs e)
 {
     base.OnLoad(e);
     Session["LastPage"] = "Default";
     Session["UtcNow"] = DateTime.UtcNow;
     Session["BigObject"] = new ExponentiallyChunkyThing(2);
 }
예제 #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);
        }
예제 #6
0
 protected void Page_Load(object sender, EventArgs e)
 {
     Session["LastPage"]  = "Frame2";
     Session["UtcNow"]    = DateTime.UtcNow;
     Session["BigObject"] = new ExponentiallyChunkyThing(4);
 }
예제 #7
0
 protected void Page_Load(object sender, EventArgs e)
 {
     Session["LastPage"] = "ReadonlyFrame";
     Session["UtcNow"] = DateTime.UtcNow;
     Session["BigObject"] = new ExponentiallyChunkyThing(4);
 }