If you cannot force the client to support cookies, perhaps you can put some data in LocalStorage, and then report that it’s up to the server to connect to the session, and structure it as a one-page application.
It will look something like this:
server | client
send initial payload, with token
initial payload contains some script
<
look up session, do stuff
Are network sockets supported? You can use Socket.io for porting, which will be much less latency.
source
share