Skip to content

libcURL.CookieEngine.Lookup

Andrew Lambert edited this page Oct 31, 2015 · 17 revisions

#libcURL.CookieEngine.Lookup

##Method Signature

 Function Lookup(CookieName As String, CookieDomain As String, StartWith As Integer = 0) As Integer

##Parameters

Name Type Comment
CookieName String The name of the cookie to locate
CookieDomain String The domain name of the cookie to locate
StartWith Integer Optional. If specified, the index to begin searching at

##Return value The index of the first matching cookie, or -1 if no cookies match.

##Remarks Locates the index of the first/next cookie matching the CookieName and CookieDomain parameters. If CookieDomain is "" then all domains match. If CookieName is "" then all cookies for CookieDomain match.

Clone this wiki locally