PHP member login code, verification passed, the Cookie value cannot be obtained after the page jump. Tracking Code. the user logs on to the verification page and jumps to the homepage. another code segment on the homepage is used to verify whether the user has logged on (whether the user name exists in the Cookie). as a result, the Cookie remains empty, it is normal to test locally. The server is IIS and the server tested locally is Apache. the related code is as follows: PHPcode & lt ;? Phpsession_start (); r PHP member login code, verification passed, the Cookie value cannot be obtained after the page jump.
Tracking Code. the user logs on to the verification page and jumps to the homepage. another code segment on the homepage is used to verify whether the user has logged on (whether the user name exists in the Cookie). as a result, the Cookie remains empty, it is normal to test locally. The server is IIS, and the server tested locally is Apache.
The related code is as follows:
PHP code
Alert ('login successful! '); Window. location. href = 'index. php'; script ";} else {echo"