In web development, if the second page has to wait until the first page is displayed before it can be loaded, it is possible that the session was not released in time.
This often happens during login judgment. After using the session, you can use the session_commit() function to close the session (php).
ThinkPHP5.0 framework opens the session by default and closes the session promptly after determining whether the user has logged in. When the session is used elsewhere,
it will be opened again by default.
The above is the detailed content of php web The next page is blocked by the previous page. For more information, please follow other related articles on the PHP Chinese website!