M
Mark
It's my understanding that the code below will create a session cookie (RAM
based cookie) that does not persist to a file, but exists in memory on the
client's pc and will be deleted when the user's browser is closed. Correct
or incorrect? Are there any variations on how this code will behave
differently between different browsers?
HttpCookie myCookie = new HttpCookie("my key", "my value");
myCookie.Expires = DateTime.MinValue;
HttpContext.Current.Response.Cookies.Add(myCookie);
Thanks in advance.
Mark
based cookie) that does not persist to a file, but exists in memory on the
client's pc and will be deleted when the user's browser is closed. Correct
or incorrect? Are there any variations on how this code will behave
differently between different browsers?
HttpCookie myCookie = new HttpCookie("my key", "my value");
myCookie.Expires = DateTime.MinValue;
HttpContext.Current.Response.Cookies.Add(myCookie);
Thanks in advance.
Mark