IReadCookie

You can use the IReadCookie interface to access the object returned from the read-only Cookies collection. Calling IRequestDictionary::get_Item on the read-only Cookies collection will always return an object that implements the IReadCookie interface.

Note IReadCookie and IWriteCookie are interfaces for the same object. If you have an IReadCookie pointer, you can QueryInterface for an IWriteCookie pointer.

Method

Description

get_HasKeys

Returns a Boolean indicating whether the cookie has keys.

get_Item

Retrieves the specified item from a cookie dictionary.

get__NewEnum

Retrieves an enumerator for the Cookies collection.

Note This interface also supports the IUnknown and IDispatch methods. For more information, see \Inetsrv\Asp\Cmpnts\Asptlb.h, the header file installed with Active Server Pages.


© Microsoft Corporation. All rights reserved.