The code of this lesson cannot be connected to the previous lesson. I found <li><a href="/index.php">Return to the front desk</a></li>After returning to the homepage, the login status is gone.
The front page is still realistic for login and registration. Instead of publishing articles and logging out after logging in
What is the problem?
Look at the web page code, it should be judged by if statement to display two different states