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
Post a Comment