Wiki articles tagged with "cookie"

Showing 1-6 of 6 items.

Enhance security of cookie-based login

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

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

2 0
2 followers
Viewed: 18 976 times
Version: 1.1
Category: How-tos
2 0
9 followers
Viewed: 15 941 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: 40 930 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 c@cba, updated 13 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: 51 760 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: 198 544 times
Version: 1.1
Category: How-tos

Single sign on across multiple subdomains

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