Previous PageNext Page

13.13.7 IWriteCookie::put_Secure

The IWriteCookie::put_Secure method sets the Secure attribute of the write-only Cookies collection to the specified value.
 

HRESULT put_Secure(

VARIANT_BOOL fSecure

);

Parameters

fSecure
A Boolean that contains the new value for the Secure attribute.

Remarks

You can use this method to specify that a cookie is secure. If you set this value to true, a Secure flag will be added to the Set-Cookie header sent to the client. The Secure flag instructs the client to use only secure means to access the server when sending back the cookie.
 

Copyright © 2000 Chili!Soft

Previous PageTop Of PageNext Page