CakePHP: a jump to the HTTPSHTTP page causes loss of logon information. One possible cause is that the set-cookie returned by the server is incorrect or lost due to a Session problem. As a result, the user login information cannot be maintained. One of the solutions is that, when a user logs on, one of the possible reasons is that the Session is faulty, resulting in a set-cookie error or loss returned by the server.
As a result, the user login information cannot be maintained.
One solution is to obtain the user name and password in the submission form after the user successfully logs on, and manually set the password to the browser Cookie.
Note that the password is obtained in the format of $ this-> data [User] [password]. if you use $ this-> Auth-> user [password], the password cannot be obtained in some cases.
This problem is not typically not encountered if you do not switch between SSL/none ssl or between multiple application servers.
The set-cookie returned by the server is incorrect or lost. As a result, the user login information cannot be maintained. One solution is to log on to the console as a user...