R
raagz
Hi,
I am trying to create a cookie from the value that is passed through
the querystring.here is the piece of code.
cookiename and cookiedata are passed through URL.
HttpCookie TISCookie = new HttpCookie(cookieName,cookieData);
TISCookie.Expires = DateTime.MaxValue;
Response.Cookies.Add(TISCookie);
but this works fine with localhost i.e URL is
http://localhost/webform1.aspx
whereas with machine name it does not i.e
http://p41234/webform1.aspx
The cookie is not at all created.
Thanks
Raagz
I am trying to create a cookie from the value that is passed through
the querystring.here is the piece of code.
cookiename and cookiedata are passed through URL.
HttpCookie TISCookie = new HttpCookie(cookieName,cookieData);
TISCookie.Expires = DateTime.MaxValue;
Response.Cookies.Add(TISCookie);
but this works fine with localhost i.e URL is
http://localhost/webform1.aspx
whereas with machine name it does not i.e
http://p41234/webform1.aspx
The cookie is not at all created.
Thanks
Raagz