The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Node.js
#1
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 Smile
  Reply


Messages In This Thread
Node.js - by astropos - 02-29-2016, 12:55 PM
Node.js - by mudmin - 03-05-2016, 03:39 PM
Node.js - by brian - 03-07-2016, 01:16 PM
Node.js - by astropos - 03-07-2016, 07:44 PM
Node.js - by brian - 03-07-2016, 09:37 PM
Node.js - by brian - 03-07-2016, 11:55 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)