Validates if session token is equal given token. In case that session doesn't contain token returns true.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- token
- Type:
System String
Token to validate.
- sessionTokenName (Optional)
- Type:
System String
Name of the session token to compare the token value with. If no token name is defined, SESSION_TOKEN_HEADER is used instead.
Return Value
Type:
See Also