IFPCFormsBasedAuthenticationProperties::UsePersistentCookies property

Applies to: desktop apps only

The UsePersistentCookies property gets or sets a value from the FpcUsePersistentCookiesComputerType enumerated type that specifies the types of client computers for which persistent cookies are allowed.

This property is read/write.

Syntax

HRESULT put_UsePersistentCookies(
  FpcUsePersistentCookiesComputerType UsePersistentCookies
);

HRESULT get_UsePersistentCookies(
  FpcUsePersistentCookiesComputerType *pUsePersistentCookies
);
' Data type: FpcUsePersistentCookiesComputerType

Property UsePersistentCookies( _
  ByVal UsePersistentCookies As FpcUsePersistentCookiesComputerType, _
  ByVal pUsePersistentCookies As FpcUsePersistentCookiesComputerType _
) As FpcUsePersistentCookiesComputerType

Property value

Value from the FpcUsePersistentCookiesComputerType enumerated type that specifies the types of client computers for which persistent cookies are allowed.

Error codes

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Remarks

This property is read/write. Its default value is fpcPersistentCookiesDisabled, which indicates that persistent cookies are not allowed for trusted or private client computers.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCFormsBasedAuthenticationProperties

 

 

Build date: 7/12/2010