Home  >  Article  >  Backend Development  >  php web The next page is blocked by the previous page

php web The next page is blocked by the previous page

不言
不言Original
2018-04-09 17:02:001577browse


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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn