IPWorks WebSockets 2020 C++ Edition

Questions / Feedback?

CookieName Property

The name of the cookie.

Syntax

ANSI (Cross Platform)
char* GetCookieName(int iCookieIndex);
int SetCookieName(int iCookieIndex, const char* lpszCookieName); Unicode (Windows) LPWSTR GetCookieName(INT iCookieIndex);
INT SetCookieName(INT iCookieIndex, LPCWSTR lpszCookieName);
- (NSString*)cookieName:(int)cookieIndex;
- (void)setCookieName:(int)cookieIndex:(NSString*)newCookieName;
#define PID_WEBSOCKETCLIENT_COOKIENAME 9

IPWORKSWS_EXTERNAL void* IPWORKSWS_CALL IPWorksWS_WebSocketClient_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSWS_EXTERNAL int IPWORKSWS_CALL IPWorksWS_WebSocketClient_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSWS_EXTERNAL int IPWORKSWS_CALL IPWorksWS_WebSocketClient_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

The name of the cookie.

This property, along with CookieValue store the cookie that is to be sent to the server. The SetCookie event displays the cookies set by the server and their properties.

The CookieIndex parameter specifies the index of the item in the array. The size of the array is controlled by the CookieCount property.

This property is not available at design time.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks WebSockets 2020 C++ Edition - Version 20.0 [Build 8155]