开发者

Socket Sessions For Persistent Connections

I am developing a socket server where a client will be bound after being authenticated simila开发者_运维问答r to SMPP. Is there support for cookies in this regard? How do you maintain a session for socket client that is "logged in"?


Unlike HTTP, sockets are inherently stateful, so maintaining state is a simple matter of associating data with the current socket connection. Cookies and such like are not necessary, because the server never loses its handle on the client.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜