In chrome it is okay to write user information in session when verifying that the login is successful. Template with present to determine the value of session.username, if there is a session to sign in, the header displays the user name, if there is no session, the Login registration button is displayed.
After successful login in Firefox, the Login registration button is still displayed.
Reply content:
In chrome it is okay to write user information in session when verifying that the login is successful. Template with present to determine the value of session.username, if there is a session to sign in, the header displays the user name, if there is no session, the Login registration button is displayed.
After successful login in Firefox, the Login registration button is still displayed.
The present tag at the end is parsed intoisset
You first look at the Firefox browser under the print session to see if the assignment is successful