O
O
OKNOZA2015-06-17 15:38:55
PHP
OKNOZA, 2015-06-17 15:38:55

How to make it pass from PHP to NodeJS?

I separated the flies from the cutlets, assembled the scheme.
nginx, php, nodejs.
There is a chat on NodeJS, I want to attach authorization.
How do I pass a nodejs session? from PHP? how is he authorized?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Sivkov, 2015-06-17
@Sivkoff

Use Redis to store sessions: https://gist.github.com/mscdex/9507b0d8df42e0aec825
Well, I will support Alexander Taratin , if you can get rid of PHP, do it. Authorization is well implemented in Node.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question