Which of the two approaches to handling sessions is better? In some cases they claim that the use of JWT is better, because of both horizontal and vertical scalability and that it improves server performance in case the number of users is large. On the other hand, others claim that the approach with cookie-session is better.
I want to make a project using node-js, I would like to know which of the approaches is better and why?