dimanche 29 mars 2015

php $_SESSION accessing in node.js or in socket.io

I have php login system that authenticate user. I access the user authenticated name by using the



$_SESSION['username'];


or the the logind id



$_SESSION['loginid'];


my question for this how can i retreive those value in $_SESSION['username']; or $_SESSION['loginid'];


using node.js or socket.io ?. Is it possible ?


Thank you in advance.


Aucun commentaire:

Enregistrer un commentaire