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
Retrieves the cookies read: 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 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 (with quotes)
Domain for which the list of cookies currently stored in memory will be retrieved.
Versions 20 and later
WEBDEV - Server codeAjax

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 (with quotes)
Domain for which the list of cookies currently stored in memory will be retrieved.
New in version 20
WEBDEV - Server codeAjax

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 (with quotes)
Domain for which the list of cookies currently stored in memory will be retrieved.
WEBDEV - Server codeAjax

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 (with quotes)
Domain for which the list of cookies currently stored in memory will be retrieved.
Versions 20 and later
WEBDEV - Server codeAjax

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
WEBDEV - Server codeAjax

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.
WEBDEV - Server codeAjax

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.
Remarks
Component : wd240com.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment