socket.io-session-mobile
v0.0.1
Published
This module uses io.set('authorization') to add a session property to socket.handshake.
Downloads
3
Maintainers
Readme
socket.io-session-mobile!
Express and Connect both use cookies to maintain session information. Unfortunately, mobile operating systems like Android and iOS don't handle cookies well. Even browser based mobile frameworks, like Cordova/PhoneGap don't support cookies.
This Node module allows a user to generate a fake cookie client side, and have it validate server side. The module will then merge the Express and Socket.IO session so it can be used in either place.
Usage instructions are forthcoming.
This library is considered Alpha level and shouldn't be used in production.
Author
Alan James: [email protected]
License
Licensed under MIT.