A
Aah
here is my code which is use to create a cookie
for some reason when I use the domain property I am not able to see the
cookie in my cookies folder.
But when I comment out my domain property, I can see my cookie in my cookies
folder.
How can I use the domain property to create a cookie????
Dim MyCookie As New HttpCookie("firstcookie")
Dim now As DateTime = DateTime.Now
MyCookie.Domain = "hello.net"
MyCookie.Value = now.ToString()
MyCookie.Expires = now.AddHours(1)
Response.Cookies.Add(MyCookie)
for some reason when I use the domain property I am not able to see the
cookie in my cookies folder.
But when I comment out my domain property, I can see my cookie in my cookies
folder.
How can I use the domain property to create a cookie????
Dim MyCookie As New HttpCookie("firstcookie")
Dim now As DateTime = DateTime.Now
MyCookie.Domain = "hello.net"
MyCookie.Value = now.ToString()
MyCookie.Expires = now.AddHours(1)
Response.Cookies.Add(MyCookie)