4
Answers

Cookie Reteriving problem

Smart    Lucky

Smart Lucky

13y
1.3k
1
hi
    I Have create cookie in this way and cookie is created and when i read it , it just show me Last value result why not showing all can any one help me........?

        HttpCookie cook = new HttpCookie("hidaya");
        cook.Value = "Value one";
        cook.Value = "Value Two";
        cook.Value = "Value Three";
        cook.Value = "Value Four";
        cook.Expires = DateTime.Now.AddDays(5);
        Response.Cookies.Add(cook);

Answers (4)