Sessions in token based authentication

前端 未结 8 1102
轻奢々
轻奢々 2020-12-28 15:54

I am building an app in PHP Lumen which returns a token upon login. I am not sure how to proceed beyond this.

How am I supposed to maintain a session using these to

8条回答
  •  醉梦人生
    2020-12-28 16:34

    You can store it in the browser's localStorage, then set it in the header for each request to the server.

提交回复
热议问题