IWriteCookie::put_Domain

ThE IWriteCookie::put_Domain method sets the Domain attribute of the write-only Cookies collection to the specified value.

HRESULT put_Domain(
  BSTR bstrDomain  //binary string that contains the new domain value
);
 
Parameters
bstrDomain
A binary string that contains the new domain value.
Remarks

You can use this method to specify particular domains for a cookie. This method only applies to the Response.Cookies collection.

See Also

Cookies


© 1997 by Microsoft Corporation. All rights reserved.