PHP - Node communication/auth/registration?

October 22, 2014 3.6k views

Hey, how can I make PHP page with login fields save users ID in sessions and then in Node.js server ( ) get that session/user ID?

1 Answer
  • Also side note:
    I want to see how many users are online from external PHP site.

  • You should be able to poll the Redis service to get that number, then output to any form you like.

  • Is there actually any way to get list of all connected clients IP addresses?

  • As I said before, that ca be done. I don’t write code for people (for free), but you should be able to find a good how-to for Redis and active session counts.

Have another answer? Share your knowledge.