There are two types:
One is: SESSION, the other is HTTP authentication
The following is an example from the PHP Chinese manual:
----------------- -------------------------------------------------- -------------
User Authentication
----------------------------- -------------------------------------------------- -
Specially