AddCookie Method
Adds a cookie and the corresponding value to the outgoing request headers.
Syntax
public void addCookie(String cookieName, String cookieValue);
Remarks
This property adds a cookie and the corresponding value to the outgoing request headers. Please refer to the Cookies property for more information on cookies and how they are managed.