Home > front end >  Ask a question about token
Ask a question about token

Time:10-07

After the user login, the back-end returned token, the token saved in localStroage, when the user after the jump to other routing when the user needs access to the back-end data, send token to the back-end, the backend and the stored in the session information, determine the user identity, will the user information sent to the front page

CodePudding user response:

This is normal operation, get a token after login, request data interface with the late request token on the head with the past together, what's the problem?

CodePudding user response:

I just want to know if I say wrong, by the way the generated token in addition to the returned to the front end, also is saved to the database
  • Related