node.js - SailsJS Session not working over sockets -


here problem,

usercontroller.login{ req.session.isauthenticated = true } 

...

usercontroller.isonline{      if(request.session.isauthenticated){ //expecting true logged in users      } ... } 

above condition passing http requests. but, failing socket requests.

anyone know how fix , access sessions via sockets in sailjs?

fyi, working on sailljs v0.11.0 can see htpponly: true in request.session object


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -