Closed (fixed)
Project:
Node.js integration
Version:
7.x-1.0-alpha4
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 Feb 2011 at 02:49 UTC
Updated:
20 Jun 2014 at 00:39 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedyes! on the TODO.
we need an overall API here, so that one can view the innards of a node.js instance, and control it.
Comment #2
mikey_p commentedShould we make this a whole REST API sort of thing? would there ever be any benefit to pushing sessions/auth into node.js?
Comment #3
Anonymous (not verified) commentedi'm not convinced its necessary to push sessions into node.js. it *might* be something to investigate from a performance point of view later, but right now, its not necessary, because node.js code defers to drupal for all un-authed clients anyway.
the node.js code uses express.js (http://expressjs.com/index.html), so it should be pretty easy to wire all of this up.
Comment #4
Anonymous (not verified) commentedimplemented this here:
http://drupalcode.org/project/nodejs.git/commit/111e196
Comment #5
Anonymous (not verified) commentedComment #6
mikey_p commentedShould be nodejs_user_logout($account)
Comment #7
Anonymous (not verified) commentedDoh!
Comment #8
Anonymous (not verified) commentedfixed for realz:
http://drupalcode.org/project/nodejs.git/commit/cebc5b9