Click or drag to resize
CookieExist Method
Check if a cookie exists

Namespace: ToolBoox
Assembly: ToolBoox (in ToolBoox.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public static bool Exist(
	HttpRequest pageRequest,
	string name
)

Parameters

pageRequest
Type: System.WebHttpRequest
Request of the page (usually Page.Request)
name
Type: SystemString
Name of the cookie to check

Return Value

Type: Boolean
True on success; False otherwise
See Also