C
Chris Zopers
Hello,
I've read somewhere that sessionstate does not work when a browser has
disabled cookies, so I wanted to test this and did the following:
I added two aspx pages (c#), in the first I set a session variable like
this: Session["Test"] = "Hello";
On the first page there is a button that navigates to the second page,
like this: Server.Transfer('Default2.aspx');
In the second page in the load event, I do this:
Response.Write(Session["Test"];
After this, I disabled all cookies in my browser (internet explorer 6)
bij using the privacy tab in IE Options. But after disabling the
cookies, my project still works fine! How's this possible or am I
understanding something wrong here?
Greetings,
Chris
I've read somewhere that sessionstate does not work when a browser has
disabled cookies, so I wanted to test this and did the following:
I added two aspx pages (c#), in the first I set a session variable like
this: Session["Test"] = "Hello";
On the first page there is a button that navigates to the second page,
like this: Server.Transfer('Default2.aspx');
In the second page in the load event, I do this:
Response.Write(Session["Test"];
After this, I disabled all cookies in my browser (internet explorer 6)
bij using the privacy tab in IE Options. But after disabling the
cookies, my project still works fine! How's this possible or am I
understanding something wrong here?
Greetings,
Chris