Wiki articles tagged with "cookie"

Showing 1-9 of 9 items.

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

Created 10 years ago by Wade Shuler Wade Shuler, updated 10 years ago by samdark 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: 132 241 times
Version: 2.0
Category: How-tos

Yii2: Configuring different sessions for backend and frontend in Yii Advanced Application Template

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

This is as an extension of this wiki by Kartik V which shows to make different enableAutoLogin cookies for frontend and backend.

3 0
7 followers
Viewed: 48 080 times
Version: 2.0
Category: How-tos

Enhance security of cookie-based login

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

When talking about cookie-base login the Yii guide indicates the following:

2 0
2 followers
Viewed: 19 984 times
Version: 1.1
Category: How-tos

Configuring different sessions for backend and frontend in Yii advanced app

Created 11 years ago by Kartik V Kartik V, updated 10 years ago by Kartik V Kartik V.

Your need: You require that for shared machines, the user is authenticated again for a backend access again, if someone is logged in from frontend and vice versa.

4 0
46 followers
Viewed: 53 181 times
Version: 2.0
Category: How-tos
2 0
9 followers
Viewed: 16 545 times
Version: 1.1
Category: Tutorials

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

Created 12 years ago by le_top le_top, updated 10 years ago by le_top 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: 42 667 times
Version: 1.1
Category: How-tos

Manage (Target) Language in Multilingual Applications + A Language Selector Widget (i18n)

Created 14 years ago by c@cba c@cba, updated 14 years ago by c@cba c@cba.

In case of a multilingual application, one might consider it a reasonable approach to store the preferred language of the user in a session variable, and after that, every time a page is requested, to check this session variable and render the page in the indicated language. This tutorial shows a Yii-way of doing this.
We implement an event handler for the onBeginRequest event; as the nam...

9 0
19 followers
Viewed: 53 516 times
Version: 1.1
Category: Tutorials

Cookie management in Yii

Created 14 years ago by Trejder Trejder, updated 12 years ago by resurtm resurtm.

Cookie management in Yii is easy, but may not be so obvious for the beginners to this framework, so I wrote this simple article to clear some doubts out.

38 1
40 followers
Viewed: 201 808 times
Version: 1.1
Category: How-tos

Single sign on across multiple subdomains

Created 15 years ago by ianaré ianaré, updated 15 years ago by ianaré ianaré.

This had me stumped for a while so I figured it would be nice to share here to avoid others the grief.

29 0
37 followers
Viewed: 68 035 times
Version: 1.1
Category: How-tos