0

我有一个 Symfony 1.4 框架上的应用程序。最近我开始在 Node.js 中构建一个应用程序。

我需要在节点中执行一些操作的响应,并且我想远程设置凭据(登录用户),因为某些数据取决于用户的数据,我不能省略它。我怎样才能做到这一点?

4

1 回答 1

0

I am not sure I completely understood your scenario, but from I grasp you could share the session data (if this is the "user data" the nodejs app needs) between the two platforms (maybe use a common database to store sessions, like Redis) or you could implement a web service or api (REST) to enable communication between the two platforms, if the data is more complex. Hope my answer was helpful.

于 2012-08-24T14:32:35.580 回答