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

Showing 1-5 of 5 items.

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: 43 333 times
Version: 1.1
Category: How-tos

Show captcha after <N> unsuccessfull attempts

Created 13 years ago by zitter zitter, updated 13 years ago by zitter zitter.

In this mini howto I would like to show how to add a required captcha field in the login form, after a defined number of unsuccessfull attempts. To do this, I will use the blog demo that you have in default Yii download package (path/to/yii/demos/blog).

13 4
15 followers
Viewed: 38 078 times
Version: 1.1
Category: How-tos

Using loginRequiredAjaxResponse to solve ajax session timeout

Created 13 years ago by Rutger Rutger, updated 9 years ago by Rutger Rutger.

This solution requires Yii 1.1.9 or above

12 0
16 followers
Viewed: 43 102 times
Version: 1.1
Category: How-tos

How to validate CSRF token with session

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

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

21 0
27 followers
Viewed: 106 979 times
Version: 1.1
Category: How-tos
Tags: CSRF, session

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 337 times
Version: 1.1
Category: How-tos