These are the cookies I just set up
Copy code The code is as follows:
setcookie("QQ_access_token",$_SESSION[' access_token'],time()+3600*24*90);
I found that it could not be used after going to other pages. Then I went to the cookies to see if there was any problem. I found that the cookies existed but By default, the server directory
is added, so just change it and add a path at the end
Copy the code The code is as follows:
setcookie("QQ_access_token",$_SESSION['access_token'],time()+3600*24*90,"/");
http://www.bkjia.com/PHPjc/736783.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/736783.htmlTechArticleThis is the cookie I just set. Copy the code as follows: setcookie("QQ_access_token",$_SESSION['access_token '],time()+3600*24*90); I found that it couldn't be used after going to other pages, and then came to...