HttpCookie Constructor (String^)

 

Creates and names a new cookie.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public:
HttpCookie(
	String^ name
)

Parameters

name
Type: System::String^

The name of the new cookie.

The following code example creates and names a new cookie.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: