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

 

IWriteCookie Interface

The IWriteCookie interface exposes the methods that you can use to alter the values and attributes of the cookies stored in the write-only Cookies collection.

IWriteCookie::get_NewEnum

Retrieves an enumerator for the Cookies collection.

IWriteCookie::get_HasKeys

Retrieves a Boolean indicating whether the cookie has keys.

IWriteCookie::put_Domain

Sets the Domain attribute of the cookie to the specified value.

IWriteCookie::put_Expires

Sets the Expires attribute of the cookie to the specified value.

IWriteCookie::put_Item

Adds an item to the Cookies collection.

IWriteCookie::put_Path

Sets the Path attribute of the cookie to the specified value.

IWriteCookie::put_Secure

Sets the Secure attribute of the cookie to the specified value.

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

The IWriteCookie interface also supports the IUnknown and IDispatch interface methods.

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