02-29-2016, 12:55 PM
Perhaps a little toward OT but it's something that I'd like to get working.
Node.js is a serverside Javascript runtime.
It provides realtime communications via websockets. For my UserSpice projects, I'd like to be able to add realtime chat and/or other services via node.
I only want logged-in UserSpice users to have access to the Node services.
I'm going to start by sending a flag from USerSPice to say that the user is logged in.
I'll check this on the Node side and choose to allow access.
This is is a bit rough and easily spoofed.
It would be better to log-in to the Node server at the same time as USerSpice, using the same credentials against the same database.
Anyway, I'll just leave this here
Node.js is a serverside Javascript runtime.
It provides realtime communications via websockets. For my UserSpice projects, I'd like to be able to add realtime chat and/or other services via node.
I only want logged-in UserSpice users to have access to the Node services.
I'm going to start by sending a flag from USerSPice to say that the user is logged in.
I'll check this on the Node side and choose to allow access.
This is is a bit rough and easily spoofed.
It would be better to log-in to the Node server at the same time as USerSpice, using the same credentials against the same database.
Anyway, I'll just leave this here