I need explanation in express-session and jwt. E.g. I have shopping cart, and to log in and sign in I use jwt but to store chosen products in shopping cart I would like use express- session and connect-mongo Is that correct way? And my question is in sense and proper solution use sessions and jwt in one project? Maybe better would be use jwt to store product e.g. 3 hours.
问问题
1496 次