How To Unserialize Php Session In Node.js?
I am storing the PHP $_SESSION data in a database. Then from a Node.js server I want to take that data and unserialize it. I tried to use js-php-unserialize like this: con.query('S
Solution 1:
Use .unserializeSession()
instead of .unserialize()
.
Post a Comment for "How To Unserialize Php Session In Node.js?"