NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Cookie Constructor (String, String, String, String)

Create a new cookie object.

[Visual Basic]
Overloads Public Sub New( _
   ByVal name As String, _
   ByVal value As String, _
   ByVal path As String, _
   ByVal domain As String _
)
[C#]
public Cookie(
   string name,
   string value,
   string path,
   string domain
);
[C++]
public: Cookie(
   String* name,
   String* value,
   String* path,
   String* domain
);
[JScript]
public function Cookie(
   name : String,
   value : String,
   path : String,
   domain : String
);

Parameters

name
The name of the cookie.
value
The value of the cookie.
path
The path prefix that determines which requests should include the cookie.
domain
The domain that the cookie should be restricted to when being included in a request.

See Also

Cookie Class | Cookie Members | System.Web.Services.Protocols Namespace | Cookie Constructor Overload List