阅读背景:

在sockjs连接中传递Django会话id的最佳方式

来源:互联网 

Right now I have a Django-tornado-sockjs stack and want to be able to pass the session id from the site into a sockjs cnnection. What is the most secure way to pass the Django session id to my tornado backend? It sounds like people are recommending I store the session id in cookies and then send the data over when sockjs opens a connection. But isn't this less secure? It doesn't seem like Sockjs supports passing http-only cookies.Right now I have a Django-tornado-sockjs stack




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: