Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
Enables or disables the management of cookies in an HTTP request run: Remark: The cookies read and sent by HTTPRequest are only stored in memory in the application. They are not related to the cookies of Web browsers installed on the computer.
// Gère les cookies dans les requêtes sur les sites du domaine "google.fr"
HTTPCookieManage(".google.fr", True)
// Ouverture de la page d'accueil de Google
// Refait la requête en tenant compte des cookies éventuellement renvoyés au 1er appel

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.
  • The cookies are not kept between two runs of an executable. They must be saved and restored through programming:
  • HTTPGetResult ignores HTTPCookieManage.
  • When the cookies are enabled:
    • the cookies received in response to a call to HTTPRequest are stored while waiting for a future call to HTTPRequest on the same domain. This operating mode is similar to the one of the Internet browsers.
  • The use of cookies is required on some sites that use them to supply the identifiers. Then, these identifiers are transmitted to each request (a basket identifier when placing an order for example).
  • If a management is defined on a domain, this information has priority over the global option.
Component: wd270com.dll
Minimum version required
  • Version 15
This page is also available for…
Click [Add] to post a comment