web\Request $enableCsrfCookie

$enableCsrfCookie public property

Whether to use cookie to persist CSRF token. If false, CSRF token will be stored in session under the name of $csrfParam. Note that while storing CSRF tokens in session increases security, it requires starting a session for every page, which will degrade your site performance.

doc_Yii
2016-10-30 17:15:29
Comments
Leave a Comment

Please login to continue.