Wiki articles in category How-tos tagged with "CSRF"

Showing 1-3 of 3 items.

[Guide] How to actually separate Frontend (User) and Backend (Admin) on Yii2 Advanced

Created 8 years ago by Wade Shuler, updated 8 years ago by samdark.

I am writing this guide because I struggled to find a resource that included ALL of the necessary steps to completely separate the frontend from the backend. After reading guides like Configuring different sessions for backend and frontend in yii-advanced-app and [yii2 configuring d...

9 1
Viewed: 117 908 times
Version: 2.0
Category: How-tos

Checking for "expired" sessions/logins on the client side

Created 10 years ago by le_top, updated 8 years ago by le_top.

Getting "Expired token" errors ? Here is a solution to avoid invalid CSRF on POST or ajax requests, or user identity changes.

4 0
Viewed: 34 601 times
Version: 1.1
Category: How-tos

How to validate CSRF token with session

Created 11 years ago by yangmls, updated 11 years ago by yangmls.

First of all, You must change component config to enable the default Yii CSRF validation.

21 0
Viewed: 97 930 times
Version: 1.1
Category: How-tos
Tags: CSRF, session