阅读背景:

在回调中向nodejs express中的会话添加数据

来源:互联网 

In the below code i'm trying to fetch the user details from DB and save it to session. But unfortunately it doesn't work as i've expected, the data is not written into the session variable. I guess it's because of pass by value? Any workaroundIn the below code i'm trying to fetch the user




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: