AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Comunicación / Funciones HTTP
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Enables or disables the management of cookies in an HTTP request run by <httpRequest variable>.Send.
Sintaxis

Activar/desactivar la gestión de cookies (HTTPSend) Ocultar los detalles

<HTTP request>.ManageCookie([<Domain>, ] <Activation>)
<HTTP request>: Variable de tipo httpRequest
Name of the httpRequest variable for which the management of cookies will be enabled or disabled.
<Domain>: Cadena de caracteres
Domain onto which the activation or the deactivation is applied.
<Activation>: booleano
  • True to enable the management of cookies,
  • False to disable the management of cookies.
    Even if the management of cookies is disabled, you still have the ability to pass cookies in the HTTP request by using the appropriate header in the httpRequest variable.
Observaciones
  • The cookies are not kept between two runs of an executable. They must be saved and restored through programming:
  • HTTPGetResult ignores <httpRequest variable>.ManageCookie.
  • When cookies are active, any cookies received in response to a call to the <httpRequest variable>.Send function are stored pending a subsequent call to the <httpRequest variable>.Send function on the same domain: the httpRequest type variable is updated. This operating mode is similar to the one of the Internet browsers.
  • The use of cookies is required on some sites that use them to supply the identifiers. Then, these identifiers are transmitted to each request (a basket identifier when placing an order for example).
  • If a management is defined on a domain, this information has priority over the global option.
Componente: wd300com.dll
Versión mínima requerida
  • Versión 24
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 30/09/2024

Señalar un error o enviar una sugerencia | Ayuda local