P
Paul
I'm having a problem with the session being reset after setting a
cookie. This is not supposed to happen. If I comment out the Add
line below the site works normally, the session persists. Help.
vs2003/.net 1.1
HttpCookie httpCookie = new HttpCookie("myCookieName");
httpCookie.Value = (string)Session["myString"];
// BUG: adding the cookie kills the session.
base.Response.Cookies.Add(httpCookie);
cookie. This is not supposed to happen. If I comment out the Add
line below the site works normally, the session persists. Help.
vs2003/.net 1.1
HttpCookie httpCookie = new HttpCookie("myCookieName");
httpCookie.Value = (string)Session["myString"];
// BUG: adding the cookie kills the session.
base.Response.Cookies.Add(httpCookie);