1. 写cookie
Dim JSONCookie As New HttpCookie("JSONDATA")
JSONCookie.Expires = DateTime.Now.AddMinutes(480)
JSONCookie.Value = cookiestr
HttpContext.Current.Response.Cookies.Add(JSONCookie)
2. 读cookie
Dim Jsonstr As String = HttpContext.Current.Request.Cookies("JSONDATA").Value.ToString
3.判断cookie 是否存在
If Request.Cookies("JSONDATA") Is Nothing Then
End If