PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Deletes all cookies (globally or for a domain) stored: Note: 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

Erases the cookies stored by HTTPRequest Hide the details

HTTPCookieReset([<Domain>])
<Domain>: Optional character string (with quotes)
Domain for which the cookies will be erased. If this parameter is not specified (no domain is specified), all stored cookies will be erased.
Versions 20 and later
WEBDEV - Server codeAjax

Erases 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 erased.
<Domain>: Optional character string (with quotes)
Domain for which the cookies will be erased. If this parameter is not specified (no domain is specified), all stored cookies will be erased.
New in version 20
WEBDEV - Server codeAjax

Erases 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 erased.
<Domain>: Optional character string (with quotes)
Domain for which the cookies will be erased. If this parameter is not specified (no domain is specified), all stored cookies will be erased.
WEBDEV - Server codeAjax

Erases 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 erased.
<Domain>: Optional character string (with quotes)
Domain for which the cookies will be erased. If this parameter is not specified (no domain is specified), all stored cookies will be erased.
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 : wd240com.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment