This chapter breifly explains how PHP handles connections.
PHP automatically maintains a connection status. There are four possible states:
- NORMAL
- ABORTED
- TIMEOUT
- ABORTED and TIMEOUT
When a PHP script is running normally, the NORMAL state is active. If the remote client disconnects, the ABORTED state flag is turned on. A remote client disconnect is usually caused by the user hitting his STOP button. If the PHP-imposed time limit is hit, the TIMEOUT state flag is turned on.
Comments
No comments have been made yet.
Please login to leave a comment. Login now