Wiki

Articles tagged with "login", sorted by date (updated)X
Displaying 1-10 of 18 result(s).

Using loginRequiredAjaxResponse to solve ajax session timeout

Updated 11 months ago by RutgerHow-tos3 comments – viewed 28,081 times – ( +13 / -1 ) – version 1.1
This solution requires Yii 1.1.9 or above

Configuring different sessions for backend and frontend in Yii advanced app

Updated 2 years ago by Kartik VHow-tos2 comments – viewed 29,540 times – ( +48 / -1 ) – version 2.0
After you have setup your Yii2 advanced application, you now have setup your user authentication for both frontend and backend. However, if you have first logged into frontend, and try to access backend from the same client machine, you see no login screen, but find yourself automatically logged in.

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

Updated 2 years ago by samdarkHow-tos2 comments – viewed 61,374 times – ( +17 / -2 ) – version 2.0
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 different sessions for backend and frontend in yii advanced application template, there are still steps missing. It is funny how the 2nd one says it is an extension of the first one's article. So I guess, my wiki guide here is yet a 3rd and more complete extension of both of them. I also found a few StackOverflow questions and blog posts regarding this topic. None of them fully worked, and must be missing some magic sauce!

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

Updated 2 years ago by le_topHow-tos0 comments – viewed 24,716 times – ( +6 / -1 ) – version 1.1
Getting "Expired token" errors ? Here is a solution to avoid invalid CSRF on POST or ajax requests, or user identity changes.

Google style sign out of all other sessions

Updated 2 years ago by Rohit SutharHow-tos2 comments – viewed 9,344 times – ( +4 / -1 ) – version 1.1
In this wiki I will show how could logout from all other sessions or all other places.

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

Updated 3 years ago by hrnairHow-tos2 comments – viewed 26,094 times – ( +7 / -1 ) – version 2.0
This is as an extension of this wiki by Kartik V which shows to make different enableAutoLogin cookies for frontend and backend.

How to get & store Last Login DateTime in database?

Updated 3 years ago by Rohit SutharHow-tos2 comments – viewed 14,592 times – ( +7 / -1 ) – version 1.1
In this wiki I will show how could be store last login date & time in database. First we need a field LastLoginTime (Type must be datetime). this field store a user login detalis (like - Date & Time).

Enhance security of cookie-based login

Updated 3 years ago by darkheirHow-tos0 comments – viewed 9,334 times – ( +2 / -1 ) – version 1.1
Enhance security of cookie-based login

Two Login in same form in Yii application , with two tables

Updated 3 years ago by Rohit SutharTutorials6 comments – viewed 22,875 times – ( +4 / -8 ) – version 1.1
login links will be

Forcing login for all pages using CBehavior

Updated 3 years ago by Rohit SutharTutorials3 comments – viewed 10,795 times – ( +5 / -7 ) – version 1.1
In this wiki I will show how could forcing login for all pages and users must be logged in to access almost all of the site’s content.