WebResponse.SetCookie

From Xojo Documentation

Method

WebResponse.SetCookie(Name As String, Value As String, Expiration As DateTime = Nil, Domain As String = ".", Path As String = "/", Secure As Boolean = False, HTTPOnly As Boolean = False)

New in 2020r1

Supported for all project types and targets.

Sets the value of the Name cookie. The Domain and Path must exactly match the values that were used to create the cookie.

See Also

WebRequest.Cookie, WebResponse.ClearCookie methods.