Found that <li><a href="/index.php">Return to the front desk</a></li>After returning to the homepage, you are not logged in.
王先生
王先生 2019-11-19 11:15:42
0
3
1487

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?

王先生
王先生

reply all(1)
卢小强

Look at the web page code, it should be judged by if statement to display two different states

  • reply In fact, you need to log in to the backend first, and then log in to the frontend again in order to switch freely.
    王先生 author 2019-11-20 11:58:33
  • reply Is there something wrong with the logic? What kind of program must first go to the background and then go to the foreground in order to switch freely?
    卢小强 author 2019-11-21 09:50:43
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template