Wiki

Articles tagged with "domain", sorted by date (updated)X
Displaying 1-5 of 5 result(s).

How to make UrlManager createAbsoluteUrl work with sub-domains

Updated 6 months ago by Wade ShulerHow-tos1 comment – viewed 6,739 times – ( +2 / -1 ) – version 2.0
Upon creating my Yii2 Members System, I have ran into a few snags along the way that forced me to extend and bend Yii2 to my will.

Configuring different sessions for backend and frontend in Yii advanced app

Updated 2 years ago by Kartik VHow-tos2 comments – viewed 28,680 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 59,341 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!

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

Updated 2 years ago by hrnairHow-tos2 comments – viewed 25,317 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.

Single sign on across multiple subdomains

Updated 6 years ago by ianarĂ©How-tos10 comments – viewed 46,600 times – ( +32 / -1 ) – version 1.1
This had me stumped for a while so I figured it would be nice to share here to avoid others the grief.