CookieExpiration Property

This property contains an expiration time for the cookie (if provided by the server).

Syntax

ANSI (Cross Platform)
char* GetCookieExpiration(int iCookieIndex);

Unicode (Windows)
LPWSTR GetCookieExpiration(INT iCookieIndex);
- (NSString*)cookieExpiration:(int)cookieIndex;
#define PID_OAUTH_COOKIEEXPIRATION 10

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_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

This property contains an expiration time for the cookie (if provided by the server). The time format used is "Weekday, DD-Mon-YY HH:MM:SS GMT". If the server does not provide an expiration time, this property will contain an empty string. The convention is to drop the cookie at the end of the session.

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 read-only and 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]