Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
memcached is just a storage. Access to which can be obtained by any client with sufficient rights. Including node.
That is, to answer the question, you need to understand how and who saves sessions in php.
Then implement a similar algorithm in node and everything will be as it should.
There is a php-unserialize module.
We patched it for one of the projects (it crashed on cyclic references in objects), brought it to the performance we needed (read objects from the session, did not try to write back). It seems to work :) But it should be understood that it does not read everything - it simply skips cyclic links.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question