-
-
Notifications
You must be signed in to change notification settings - Fork 11
libcURL.cURLSession.SetCookie
Andrew Lambert edited this page Jan 8, 2023
·
4 revisions
libcURL.cURLSession.SetCookie
Function SetCookie(Name As String, Value As String, Domain As String, Expires As Date = Nil, Path As String = "", HTTPOnly As Boolean = False) As Boolean| Name | Type | Comment |
|---|---|---|
| Name | String | The name of the cookie. |
| Value | String | The value of the cookie. |
| Domain | String | The domain of the cookie. |
| Expires | Date | Optional. If specified, the expiration date of the cookie. |
| Path | String | Optional. If specified, the remote path of the cookie. |
| HTTPOnly | Boolean | Optional. If specified, the HTTP only attribute of the cookie. |
Returns true if the operation succeeded; if it returns false then check EasyHandle.LastError.
Calls CookieEngine.SetCookie.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2014-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.