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.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论