Wiki articles tagged with "cookie"

Showing 1-6 of 6 items.

Enhance security of cookie-based login

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

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

2 0
2 followers
Viewed: 18 507 times
Version: 1.1
Category: How-tos
2 0
9 followers
Viewed: 15 616 times
Version: 1.1
Category: Tutorials

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

Created 11 years ago by le_top, updated 9 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: 38 498 times
Version: 1.1
Category: How-tos

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

Created 13 years ago by c@cba, updated 13 years ago by 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: 51 033 times
Version: 1.1
Category: Tutorials

Cookie management in Yii

Created 14 years ago by Trejder, updated 12 years ago by 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: 196 823 times
Version: 1.1
Category: How-tos

Single sign on across multiple subdomains

Created 14 years ago by ianaré, updated 14 years ago by 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: 65 859 times
Version: 1.1
Category: How-tos