One possible scenario is that the server returns a Set-cookie error or loss due to a problem with the session.
This causes the user logon information to not be persisted.
One of the workarounds is to manually set the user name and password in the submission form to the browser cookie after the user has successfully logged in.
Note that the password is obtained in $this->data[user][password], and if you use $this->auth->user[password], you will not get the value in some cases.
This problem generally does not occur if you are not switching between Ssl/none SSL or switching between multiple application servers.
http://www.bkjia.com/PHPjc/478815.html www.bkjia.com true http://www.bkjia.com/PHPjc/478815.html techarticle One possible scenario is that the server returns a Set-cookie error or loss due to a problem with the session. This causes the user logon information to not be persisted. One of the workarounds is to log in to the user ...