|
|
|
|
|
HTTPCookieManage (Function) In french: HTTPCookieGère Enables or disables the management of cookies in an HTTP request run: Remark: Cookies read and sent by the HTTPRequest function are only stored in the application's memory.. They are not related to the cookies of Web browsers installed on the computer.
// Manages the cookies in the requests on the sites of the "google.fr" domain HTTPCookieManage(".google.fr", True) // Open the home page of Google HTTPRequest("www.google.com") // Re-runs the request while taking into account the cookies possibly returned during the 1st call HTTPRequest("www.google.fr/search?hl=fr&source=hp&q=windev")
Syntax
Enabling/Disabling the management of cookies (HTTPRequest) Hide the details
HTTPCookieManage([<Domain>, ] <Activation>)
<Domain>: Character string Domain onto which the activation or the deactivation is applied. <Activation>: Boolean - True to enable the management of cookies,
- False to disable the management of cookies.
Even if the management of cookies is disabled, you still have the ability to pass cookies in the HTTP request by using the appropriate header in HTTPRequest. Similarly, the cookies returned by the server can be retrieved by HTTPGetResult.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|