 | CookieExist Method |
Check if a cookie exists
Namespace: ToolBooxAssembly: ToolBoox (in ToolBoox.dll) Version: 1.1.0.0 (1.1.0.0)
Syntaxpublic static bool Exist(
HttpRequest pageRequest,
string name
)
Public Shared Function Exist (
pageRequest As HttpRequest,
name As String
) As Boolean
Parameters
- pageRequest
- Type: System.WebHttpRequest
Request of the page (usually Page.Request) - name
- Type: SystemString
Name of the cookie to check
Return Value
Type:
BooleanTrue on success; False otherwise
See Also