1
Answer

Cookies multivalue problem

Smart    Lucky

Smart Lucky

13y
1.2k
1
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)
Next Recommended Forum