Smart    Lucky

Smart Lucky

  • NA
  • 555
  • 637.7k

Cookie Reteriving problem

Aug 8 2011 2:15 AM
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)