wodHttpDLX ActiveX Control - Add Method
      
 

Description

Adds new cookie to the collection.


Return Type

A HttpCookie object.  

Reference to new instance of HttpCookie object.




Syntax

object.Add (Name, [Value])



The Add Method syntax has these parts:

Part Description
object An expression evaluating to an object of type HttpCookies.
Name Required. A String value. Name of the cookie.
Value Optional. A Variant value. Value of the cookie.

Remarks

This method will add new cookie to current request/response object. You should set it's Name, and optionaly it's Value.

To specify additional attributes for this cookie (such as 'Path' or 'Expires') you should use Attributes property.