IReadCookie C++ Interface

IIS 6.0

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

The IReadCookie interface inherits the methods of the standard COM interface IUnknown.

The IReadCookie interface defines the following methods.




Retrieves a Boolean indicating whether the cookie has keys.


Retrieves the specified item from a cookie dictionary.


Retrieves an enumerator for the Cookies collection.


IReadCookie and IWriteCookie C++ Interface 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.

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS