CookieValue Property

This property contains the value of the cookie.

Syntax

ANSI (Cross Platform)
char* GetCookieValue(int iCookieIndex);
int SetCookieValue(int iCookieIndex, const char* lpszCookieValue); Unicode (Windows) LPWSTR GetCookieValue(INT iCookieIndex);
INT SetCookieValue(INT iCookieIndex, LPCWSTR lpszCookieValue);
- (NSString*)cookieValue:(int)cookieIndex;
- (void)setCookieValue:(int)cookieIndex:(NSString*)newCookieValue;
#define PID_WEBSOCKET_COOKIEVALUE 12

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_WebSocket_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_WebSocket_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_WebSocket_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

This property contains the value of the cookie. The cookie specified by CookieName has a corresponding value associated with it. This property holds that value.

The SetCookie event provides the cookies set by the server.

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 2020 C++ Edition - Version 20.0 [Build 8307]