cookie-session 中向 req 添加了 sessionCookies、sessionOptions、sessionKey 属性
jysperm opened this issue · comments
Wang Ziting commented
但似乎这三个属性并没有被用到,却会增加和其他 session 中间件冲突的风险。
AN Long commented
我们还是搞个命名空间(AV?)比较方便
Wang Ziting commented
现在我们在 request 对象上确实有个叫 AV 的对象当作命名空间来用。
Wang Ziting commented
2.0 中删去了 sessionCookies #102