Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

CURL.SetOptionCookieList

Component: CURL
Version: 2.5
Mac OS X: Works
Windows: Works

MBS( "CURL.SetOptionCookieList"; handle; value )

Parameters

Parameter Description Example value
Handle The CURL session handle. $curl
Value The cookie string. "Set-Cookie: value = ..."

Result

Returns "OK" on success.

Description

Sets the cookie string.
Cookie can be either in Netscape / Mozilla format or just regular HTTP-style header (Set-Cookie: ...) format. If cURL cookie engine was not enabled it will enable its cookie engine. Passing a magic string "ALL" will erase all cookies known by cURL. Passing the special string "SESS" will only erase all session cookies known by cURL. Passing the special string "FLUSH" will write all cookies known by cURL to the file specified by CURL.SetOptionCookieJar.

Feedback: Report problem or ask question.




Links
MBS Real Studio Plugins - Nachhilfe in Kruft