Tags · Functions · Objects
Lucee Function Reference
Choose a function:

Function CSRFVERIFYTOKEN

Validates the given token against the same stored in the session for a specific key.

Example

csrfverifytoken(string token,[string key]):boolean

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
token string  Yes Token that to be validated against the token stored in the session.  
key string  No The key against which the token be searched.