I use something like this (in a WebRequest/WebResponse). Maybe it will be of
some help
dim i as int32
for i = 0 to mgWebResponse.cookies.count - 1
dim hc as httpcookie
hc = new httpcookie(mgWebResponse.cookies.item(i).name)
hc.value= mgWebResponse.cookies.item(i).value.tostring()
hc.expires = datetime.now.adddays(2)
hc.path = mgWebResponse.cookies.item(i).path
HttpContext.Current.Response.AppendCookie(hc)
next i
"Priya" <pr*******@hotmail.com> wrote in message
news:8f**************************@posting.google.c om...
Guys,
I am having trouble in reading the cookies in ASP.NET which is written
through the classic ASP page. When I write the cookie in ASP.NET and
try to read the cookie in ASP.NET it works. But if I write through
classic ASP and try to read it in ASP.NET it is not working. Any
ideas.
Thanks in advance
Priya