Sets the value for the specified Cookie.

public static void SetCookie( 
string name
object value 
)

Parameters

name

Type: string

The Cookie name, which must be unique.

value

Type: object

The value to set.

See Script Cookies for a discussion.