The IWriteCookie interface exposes methods that you can use to alter the values and attributes of the cookies stored in the write-only Cookies collection.
Note IWriteCookie and IReadCookie are interfaces for the same object. If you have an IWriteCookie pointer, you can QueryInterface for an IReadCookie pointer.
Method |
Description |
Retrieves an enumerator for the Cookies collection. | |
Returns a Boolean indicating whether the cookie has keys. | |
Sets the Domain attribute of the cookie to the specified value | |
Sets the Expires attribute of the cookie to the specified value | |
Adds an item to the Cookies collection | |
Sets the Path attribute of the cookie to the specified value | |
Sets the Secure attribute of the cookie to the specified value |
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.