|
|
|
|
|
HTTPCookieRead (Function) In french: HTTPCookieLit Returns the value of a cookie received further to an HTTP request. Note Cookies read and sent by the HTTPRequest function are only stored in the application's memory. They are not related to the cookies of Web browsers installed on the computer. // Performs an HTTP request HTTPRequest("www.mysite.com") // Displays the identification cookie returned by the server sID is string = HTTPCookieRead(".mysite.com", "ID") Info("Identification cookie = " + sID)
Syntax
Syntax that can be used with HTTPRequest Hide the details
<Result> = HTTPCookieRead(<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.
<Domain>: Character string Name of the domain for which the cookie was received. <Name>: Character string Cookie name. Remarks To use HTTPCookieRead, the management of cookies must have been enabled by HTTPCookieManage.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|