Click to See Complete Forum and Search --> : ASP.NET reading cookies


Gridlock
12-19-2005, 05:02 PM
I'm trying to read the cookies using HttpContext.Current.Request.Cookies, but the only cookie that I get is the ASP.NET SessionId cookie. There are many cookies on the machine, why am I only getting the one cookie?

Thanks,

- Stew

Cstick
12-19-2005, 08:17 PM
You can only read cookies created within your domain.

Kamal
12-20-2005, 12:21 AM
Write only Request.Cookies("Name")

Where Name is the cookie variable that save by response.cookies("Name")="Kamal"

Thanks
Kamal