How to share session? for two projects under the same domain name using express and eggjs framework respectively

how to share session?
express using express-session module
eggjs using koa-session module for two projects under the same domain name using express and eggjs framework respectively. Their cookie encryption seems to be different.

Mar.03,2021

  1. the domain name of cookie is set to the same
  2. the algorithms of sessionid should be unified. If they are inconsistent, you can only unify and implement a
  3. by yourself.
Menu