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 6 years ago by Wade Shuler, updated 6 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
18 followers
Viewed: 102 267 times
Version: 2.0
Category: How-tos

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

Created 8 years ago by le_top, updated 6 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
12 followers
Viewed: 31 774 times
Version: 1.1
Category: How-tos

How to validate CSRF token with session

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

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

20 0
27 followers
Viewed: 89 680 times
Version: 1.1
Category: How-tos
Tags: CSRF, session