G
Gil Paz
Looks like a very simple question, but I don't find the answer.
I use ASP.net 2.0 VB, I would like to check if a cookie exist on the clients
computer's and if not to create.
In order to create a cookie I write:
Dim Cookie As HttpCookie = New HttpCookie("UserID")
Cookie.Values.Add("SessionID", Session.SessionID)
Cookie.Expires = DateTime.Now.AddYears(30)
Response.Cookies.Add(Cookie)
But I don't know how to in the begining if the cookie exist or not.
Please, I need you help !
I use ASP.net 2.0 VB, I would like to check if a cookie exist on the clients
computer's and if not to create.
In order to create a cookie I write:
Dim Cookie As HttpCookie = New HttpCookie("UserID")
Cookie.Values.Add("SessionID", Session.SessionID)
Cookie.Expires = DateTime.Now.AddYears(30)
Response.Cookies.Add(Cookie)
But I don't know how to in the begining if the cookie exist or not.
Please, I need you help !