Solution:
First: Ensure the integrity of login.js and data/config.js;
Second: Check config. Whether the cookie prefix set in js is consistent with the cookie prefix in include/config.php.
Recommended tutorial: phpcms tutorial
The above is the detailed content of phpcms frontend js cannot obtain cookie user information. For more information, please follow other related articles on the PHP Chinese website!