CSRFGenerateToken()
Provides a random token and stores it in the session. You can also provide a specific key to store in the session.
CSRFGenerateToken( key=string, forceNew=boolean );
Returns: String
Examples
dump(CSRFGenerateToken("+nn7jqV+3hYHM++RuvE47g==", true));
See also
- Cryptography
- CSRFVerifyToken()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)