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...?

Amit ChoudharyPosted Aug 8, 2011, 2:46 AM
Where is the code for reading the cookies? i think you are reading the complete cookie file. Cookies are nothing but text files stored at client side containing data based on keys.
if you reading the cookie file directly then you'll see the data like this: asp=Asp.net&php=PHP open soruce
try reading the cookies with cookie object passing the key in it. and format it in your code.
Hope this was helpful.
Thanks.