Smart    Lucky

Smart Lucky

  • NA
  • 555
  • 639.4k

Cookies multivalue problem

Aug 8 2011 1:36 AM
hi 

i am createing cookies in this way



  if (Request.Cookies["hidaya"] == null)
        {
            Response.Cookies["hidaya"].Value = "Hidaya Trust jamshoro";
            Response.Cookies["hidaya"].Expires = DateTime.Now.AddDays(5);
            Response.Write("Cookies is created");
        }
        else
            Response.Write("Cookies is Exists");

when i am retiveing it show result in this way..

asp=Asp.net&php=PHP open soruce


but i want this result in this way...


Asp.net
PHP open soruce


can any one help me how can do this...?
        

Answers (1)