After WeChat Mini Programs successfully logged in, did he use the skey returned by the server as the id to identify the user?

the skey mentioned here is a key calculated by the server to get session_key and openid corresponding to session_key.

(if you haven"t understood what I"m talking about skey by now, please read this article. https://juejin.im/post/5ac9b7...

for example, if a user logs in successfully and goes to his home page, do I take this skey to the server to query the data?


you can use openid to identify users. It's better to use unionid if you can get unionid.

session_key will change. If you use this to calculate a value as a user flag, then the next time it changes, it is equivalent to a new user?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36dbc-4108a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36dbc-4108a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?