Load balancing equipment-based session keeping method and system and load balancing equipment
A load balancing device and load balancing technology, applied in the computer field, can solve problems such as difficult identification and inapplicable forms, and achieve the effect of improving processing performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0057] figure 2 The method for maintaining a session based on a load balancing device in this embodiment is shown, and the method for maintaining a session includes the following steps:
[0058] S11: Receive the HTTP request from the client.
[0059] S12: Determine whether a session identifier for identifying a session is embedded in the URL of the HTTP request and / or the header of the HTTP request. Understandably, the session ID can be embedded in the URL of the HTTP request or in the HTTP request header, or can be embedded in both the URL of the HTTP request and the HTTP request header. Understandably, by judging whether the URL and / or the HTTP request header is embedded with the session identifier, it can be identified whether most HTTP requests carry the session identifier, so as to achieve the purpose of session retention in this solution.
[0060] S13: If a session identifier is embedded in the URL of the HTTP request and / or the HTTP request header, then the keyword m...
Embodiment 2
[0081] Figure 6 Shown is the load balancing device in this embodiment. The load balancing equipment includes:
[0082]The information transceiving unit 10 is configured to receive an HTTP request from the client, and transfer the received HTTP response fed back by the server to the client.
[0083] Judging unit 20, for judging whether the URL of the HTTP request and / or the HTTP request header are embedded with a session identifier for identifying the session; and judging whether the HTTP request is a POST request or a GET request, and judging that the POST Whether the requested form has a session ID embedded in it to identify the session. That is, if the HTTP request is a POST request, it is judged whether a session identifier for identifying the session is embedded in the URL of the HTTP request, the HTTP request header and / or the form of the POST request; if the HTTP request is a GET request, only the HTTP request is judged Whether the URL and / or HTTP request header is e...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com