can any one tell me...?
Response.Cookies["UserSettings"]["Font"] = "Arial"; Response.Cookies["UserSettings"]["Color"] = "Blue"; Response.Cookies["UserSettings"].Expires = DateTime.Now.AddDays(1d);HttpCookie myCookie = new HttpCookie("UserSettings"); // Is there UserSettings is name of cookie and where use it.....?
myCookie["Font"] = "Arial"; myCookie["Color"] = "Blue"; myCookie.Expires = DateTime.Now.AddDays(1d); Response.Cookies.Add(myCookie);
And what is difference b/w these type of cookie....?

Sam HobbsPosted Aug 6, 2011, 4:10 PM
Jaish MathewsPosted Aug 6, 2011, 1:33 PM
C:\Users\Administrator\AppData\Local\Microsoft\Windows\Temporary Internet Files
The inner part of the cookie file will like this
UserSettings
Font=Arial&Color=Blue
localhost/
1024
3655980032
30168358
2948662396
30168157
*
The file name will vary. I got a name with Cookie:administrator@localhost/
Usage is same like below I accessed font key from cookie named "UserSettings"
string font
= Request.Cookies.Get("UserSettings")["Font"];Sam HobbsPosted Aug 6, 2011, 1:26 PM
To understand the differense between the Cookies collection of the HttpRequest object and the Cookies collection of the HttpResponse object then just read the documentation, as in HttpCookie Class (System.Web).