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_OAUTH_COOKIEVALUE 14

CLOUDMAIL_EXTERNAL void* CLOUDMAIL_CALL CloudMail_OAuth_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
CLOUDMAIL_EXTERNAL int CLOUDMAIL_CALL CloudMail_OAuth_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
CLOUDMAIL_EXTERNAL int CLOUDMAIL_CALL CloudMail_OAuth_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.
Cloud Mail 2020 C++ Edition - Version 20.0 [Build 8308]