Add cookie to page. Expires, domain, path may be null.

Namespace: Jaxcent.Web
Assembly: Jaxcent (in Jaxcent.dll) Version: 2.3.1.0 (2.3.1.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public void SetCookie(
	string name,
	string value,
	Nullable<DateTime> expires,
	string domain,
	string path,
	bool isSecure
)
Public Sub SetCookie ( _
	name As String, _
	value As String, _
	expires As Nullable(Of DateTime), _
	domain As String, _
	path As String, _
	isSecure As Boolean _
)
public:
void SetCookie(
	String^ name, 
	String^ value, 
	Nullable<DateTime> expires, 
	String^ domain, 
	String^ path, 
	bool isSecure
)

Parameters

name
String
value
String
expires
Nullable<(Of <(<'DateTime>)>)>
domain
String
path
String
isSecure
Boolean

See Also