Method and system for determining whether client is on-line or not in B/S architecture
A client and S-architecture technology, applied in the network field, can solve the problems of users displaying online, inaccurate user statistics, browser crashes, etc., and achieve the effect of avoiding statistical defects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0026] Hereinafter, the invention according to the present invention will be described in detail with reference to the accompanying drawings.
[0027] figure 1 A flowchart showing a method for determining whether a client is online in a B / S architecture according to the present invention.
[0028] The method includes: step 102, when the client sends a pre-logout request to the server, the server puts the pre-logout request in the pre-logout session queue; and step 104, the server periodically polls the Pre-logout session queues and normal session queues to determine if the client is online.
[0029] In the above technical solution, preferably, the server regularly polls the pre-logout session queue and the normal session queue to determine whether the client is online includes: the server side determining the pre-logout session queue and the Whether the session in the normal session queue is expired; if there is an expired session, delete the expired session.
[0030] In th...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 