There are several advantages:
express.session
stays on your server, so you can store things there that won't be accessible to the client- express sessions don't have storage limits
- Storing things in the DOM mean you'll have to transmit everything over the wire, incurring extra bandwidth costs.