Home > other >  Django websocket caused the session timeout, in addition to long polling whether there are other way
Django websocket caused the session timeout, in addition to long polling whether there are other way

Time:02-19

Websocket is written by the socket interface, the session timeout for 30 minutes, I was in the front by websocket installation log, according to the amount of server installation time, if more than 30 minutes, I am disconnected the websocket, reconnection 302 directly to the login page, so if there is any way of thinking, here, how to prevent the session timeout?
  • Related