SetClientCookie Function

Set the value of a Client preference cookie.

void SetClientCookie(int client, Handle cookie, const char[] value)

Parameters

int client

Client index.

Handle cookie

Client preference cookie handle.

const char[] value

String value to set.

Errors

Invalid cookie handle or invalid client index.