0

I have an application that saves a cooke and would like to get hold of that cookie from node.js and Socket.io, while the application is running on the same server as my node app, they are on different ports.

Can I do this and how? (needs to work in IE 8+, FF, Chrome and Safari)

ridecar2
  • 1,968
  • 16
  • 34

1 Answers1

0

I am an idiot and forgot that socket.io works both ways, so I can just send the cookie to the server on connecting to it! - Here's the link that helped me out: Stack Overflow question

Community
  • 1
  • 1
ridecar2
  • 1,968
  • 16
  • 34