How to save session-related data in php jwt?
过去多啦不再A梦
过去多啦不再A梦 2017-05-16 13:16:45
0
1
560

How to save session-related data in php jwt? For example, in the session, the data related to this session can be saved in the session, and it will be directly taken out and used through the session next time.

过去多啦不再A梦
过去多啦不再A梦

reply all(1)
过去多啦不再A梦

A token is generated and returned during the first request, and this token is brought with every subsequent request. Data related to the session can be serialized or json_encoded, and then the token and corresponding data can be saved (db, redis, or file are all acceptable)

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template