That is, after I clicked the registration button, the data was successfully inserted into the database, but there was no alert pop-up window on the page, and the page would automatically return to the registration page. The same was true for login. After logging in, the page returned to the login page, but I entered the page from the browser. If the address enters the homepage directly, there will be a user name in the upper right corner of the homepage, and the session is successfully deposited.