Skip to content

libcURL.CookieEngine.WriteCookies

Andrew Lambert edited this page Nov 26, 2022 · 3 revisions

libcURL.CookieEngine.WriteCookies

Method signature

 Function WriteCookies(CookieFile As FolderItem) As Boolean

Parameters

Name Type Comment
CookieFile FolderItem A file to save cookies into. Specify Nil to flush cookies to the most recently specified file.

Return value

Returns true if the operation succeeded; if it returns false then check EasyHandle.LastError.

Remarks

Tells libcurl to write all of the cookies it knows about into the specified file. If the file doesn't exist then it will be created. Cookies will be written automatically when the EasyHandle is destroyed; to immediately flush cookies to the most recently specified file pass Nil.

See also

Clone this wiki locally