There is already a database. Now when the user opens the webpage through the public service account, the webpage obtains the user's information. There is already the user's information in the database. How to log in? Do you use SESSION to log in? Determine whether there is a SESSION. If not, just log in. If not, go to the authorization page to obtain user information and then store the SESSION user's information? Is this the idea? Can anyone give me some guidance on how to change it? Will the user remain logged in?
天蓬老师2017-05-16 16:58:09
If you use WeChat to log in, you can get some unique parameters of WeChat to simulate the user’s login status
ringa_lee2017-05-16 16:58:09
WeChat webpage authorization has an openid, which is the only way for fans to identify this official account.