Home > Net > Cookies can write WeChat authorization process, after the jump page can't read
Cookies can write WeChat authorization process, after the jump page can't read
Time:10-02
1. WeChat authorization for Openid, and write a cookie, jump to the home page 2. The home page, executing judgment through cookies to access the database query, obtain corresponding data (but this step for less than a cookie)
Step 1 part code screenshots
Step 2 part code screenshots
Questions: replenish server take a project, can obtain the cookie, after put multiple items for less than the (different) method is similar, the name of the cookie, restart the server can get to the cookies at the beginning, over time and can not get, for help, can't find the reason
CodePudding user response:
WeChat internal authorization after the jump, don't save cookies,
CodePudding user response:
Without a tube, is the problem you met? https://blog.csdn.net/hsywan/article/details/80776757