Datasnap.DSHTTPClient.TDSHTTP.AddServerCookie

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure AddServerCookie(const ACookie: string; const AURL: string);

C++

void __fastcall AddServerCookie(const System::UnicodeString ACookie, const System::UnicodeString AURL);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Datasnap.DSHTTPClient.pas
Datasnap.DSHTTPClient.hpp
Datasnap.DSHTTPClient TDSHTTP

Description

Adds a cookie that is passed to the server with each request.

AddServerCookie receives the following input parameters:

Parameter Description

ACookie

The cookie to be passed to the server

AURL

URL where the command is sent.

See Also