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
Returns the value of a cookie received further to an HTTP request.

Syntax that can be used with HTTPSend Hide the details

<Result> = <HTTP request>.ReadCookie(<Domain> , <Name>)
<Result>: Character string
  • Value of cookie.
  • Empty string ("") if the cookie does not exist. In this case, the ErrorOccurred variable is set to True.
<HTTP request>: httpRequest variable
Name of the httpRequest variable for which the cookie will be read.
<Domain>: Character string
Name of the domain for which the cookie was received.
<Name>: Character string
Cookie name.
Remarks
To use <httpRequest variable>.ReadCookie, the management of cookies must have been enabled by <httpRequest variable>.ManageCookie.
Component: wd300com.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help