The invention relates to a session keeping method, a session keeping device, a readable storage medium and
electronic equipment. The method is applied to a gateway, and comprises the following steps:when a first HTTP message carrying first Cookie information sent by a
client is received, obtaining a gateway
session ID and
server session identification information from the first Cookie information; if determining that the first HTTP message is sent to the
server according to the gateway
session ID, determining a first target service node used for receiving the first HTTP message from a plurality of service nodes of the
server; and if the identification information of the first target service node is matched with the identification information of the service node in the server session identification information, sending a first HTTP message carrying second Cookie information to the first target service node. Thus, a third-party
middleware does not need to be additionally deployed to store the gateway session and the server session, and the gateway session and the server session do not need to be stored in the Cookie information, so that the problems in related technologies can be avoided, and the communication efficiency is ensured.