CakePHP 2.x Auth with Two Separate Logins

前端 未结 2 778
予麋鹿
予麋鹿 2020-12-13 07:34

Back in May, I posted this question. I\'m trying to do the same thing again on a different app, but I haven\'t found a solution to this problem. I do have more information a

2条回答
  •  庸人自扰
    2020-12-13 08:09

    Instead of

    $this->Session->write('Auth.redirect','/physicians/index'); 
    

    you should use

    setcookie("keys", value);
    

提交回复
热议问题