Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

IReadCookie Interface

You can use the IReadCookie interface to access the objet 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.

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.

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.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.