ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / HTTP functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Deletes all cookies (globally or for a domain) stored: 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.
Example
// Request on the Google.com site as if it was the very first call
HTTPCookieReset(".google.com")
HTTPRequest("www.google.com")
Syntax

Clears the cookies stored by HTTPRequest Hide the details

HTTPCookieReset([<Domain>])
<Domain>: Optional character string
Domain for which the cookies will be cleared. If this parameter is not specified (if no domain is specified), all the cookies will be cleared.
WINDEVWEBDEV - Server codeAndroidAndroid Widget iPhone/iPadAjax

Clears the cookies stored by HTTPSend Hide the details

HTTPCookieReset(<HTTP request> [, <Domain>])
<HTTP request>: httpRequest variable
Name of the httpRequest variable for which the cookies will be cleared.
<Domain>: Optional character string
Domain for which the cookies will be cleared. If this parameter is not specified (if no domain is specified), all the cookies will be cleared.
Remarks
  • A domain corresponds to the end of address of HTTP server (".windev.com" for example).
  • Using HTTPCookieReset will affect the next call to HTTPRequest or to HTTPSend.
  • Using HTTPCookieReset is equivalent to the call to HTTPCookieReplace with an empty array.
  • Caution: HTTPCookieReset does not clear the cookies of Internet Explorer.
Component: wd290com.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help