|
|
PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Checks whether a cookie can be read/write according to the visitor's cookie policy.
Namespace: Smartsite.Runtime.Modules
Assembly: Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)
Syntax
| C# | |
|---|---|
[(Name = "{0}.Policy.IsCookieAllowed")]
public static bool IsCookieAllowed(
context,
string key
) | |
| Visual Basic (Declaration) | |
|---|---|
<(Name := "{0}.Policy.IsCookieAllowed")> _
Public Shared Function IsCookieAllowed ( _
context As , _
key As _
) As | |
Parameters
- context
- IRenderContext
The context.
- key
- String
The cookie name.
Return Value
Boolean.
See Also
UserModule Class
Smartsite.Runtime.Modules Namespace