Vue+node routing Jump problem

when using vue+node for route redirection. Vue itself can be routed, and when I use node as the service layer, there are get requests in node.

Question1: to achieve login and registration, remember user information, etc., is it stored in session or where in the actual situation of the company?

question 2: if I store in session on the node side, how can I get this session? when I jump to an interface (get request) (because personal route redirection is currently achieved through vue)

I am a novice. If there is anything wrong with my thinking, please give me some advice. Thank you.

Mar.20,2021

since it's SPA, try not to use session. Jwt is available.

The route of

vue is not captured by the route of node. It is also suggested that you can use ng to proxy your vue program, api to deploy separately, and then use ng agent to avoid cross-domain

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-1b3c2b4-4d98e.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-1b3c2b4-4d98e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?