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.

Method Description
IReadCookie::get_HasKeys Retrieves a Boolean indicating whether the cookie has keys.
IReadCookie::get_Item Retrieves the specified item from a cookie dictionary.
IReadCookie::get__NewEnum Retrieves an enumerator for the Cookies collection.

Note  IReadCookie and IWriteCookie are interfaces for the same object. If you have an IReadCookie pointer, you can use the IUnknown::QueryInterface method on an IWriteCookie pointer.

This interface also supports the IUnknown and IDispatch interface methods. For more information, see \inetsrv\asp\cmpnts\asptlb.h, the header file installed with ASP.

See Also

Cookies