PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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
Retrieves the cookies read: 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 toward the google.com site
HTTPRequest("www.google.com")
 
// Read the array of cookies returned by the site
arrCookie is array of Cookies
arrCookie = HTTPCookieGet(".www.google.com")
Info("The www.google.com site currently stores " + arrCookie..Occurrence + " cookies locally.")
Syntax

Retrieving the cookies read via a call to HTTPRequest Hide the details

<Result> = HTTPCookieGet(<Domain>)
<Result>: Array of Cookie variables
List of cookies stored in memory for the specified domain.
<Domain>: Character string
Domain for which the list of cookies currently stored in memory will be retrieved.
Versions 20 and later
WINDEV

Retrieving the cookies read via a call to HTTPSend Hide the details

<Result> = HTTPCookieGet(<HTTP request> , <Domain>)
<Result>: Array of Cookie variables
List of cookies stored in memory for the specified domain.
<HTTP request>: httpRequest variable
Name of httpRequest variable for which the cookies will be listed.
<Domain>: Character string
Domain for which the list of cookies currently stored in memory will be retrieved.
New in version 20
WINDEV

Retrieving the cookies read via a call to HTTPSend Hide the details

<Result> = HTTPCookieGet(<HTTP request> , <Domain>)
<Result>: Array of Cookie variables
List of cookies stored in memory for the specified domain.
<HTTP request>: httpRequest variable
Name of httpRequest variable for which the cookies will be listed.
<Domain>: Character string
Domain for which the list of cookies currently stored in memory will be retrieved.
WINDEV

Retrieving the cookies read via a call to HTTPSend Hide the details

<Result> = HTTPCookieGet(<HTTP request> , <Domain>)
<Result>: Array of Cookie variables
List of cookies stored in memory for the specified domain.
<HTTP request>: httpRequest variable
Name of httpRequest variable for which the cookies will be listed.
<Domain>: Character string
Domain for which the list of cookies currently stored in memory will be retrieved.
Versions 20 and later
WINDEV

Retrieving the cookies read via an httpResponse variable Hide the details

<Result> = HTTPCookieGet(<HTTP response>)
<Result>: Array of Cookie variables
List of cookies stored in memory for the specified domain.
<HTTP response>: httpResponse variable
Name of httpResponse variable for which the cookies will be listed.
New in version 20
WINDEV

Retrieving the cookies read via an httpResponse variable Hide the details

<Result> = HTTPCookieGet(<HTTP response>)
<Result>: Array of Cookie variables
List of cookies stored in memory for the specified domain.
<HTTP response>: httpResponse variable
Name of httpResponse variable for which the cookies will be listed.
WINDEV

Retrieving the cookies read via an httpResponse variable Hide the details

<Result> = HTTPCookieGet(<HTTP response>)
<Result>: Array of Cookie variables
List of cookies stored in memory for the specified domain.
<HTTP response>: httpResponse variable
Name of httpResponse variable for which the cookies will be listed.
Component: wd270com.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment