Method and device for quick failure of system SESSION after abnormal closing of browser
An abnormal shutdown and browser technology, applied in special data processing applications, website content management, digital data authentication, etc., can solve problems such as users being unable to log in to the system with an account again, and the system not clearing the user's SESSION status.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] This embodiment provides a method for quickly invalidating the system SESSION after the browser is closed abnormally, such as figure 1 shown, including:
[0041] Step 1, log in to the system and visit the system page;
[0042] Step 2, if the browser closes abnormally when accessing the system page, execute steps 21-23, otherwise execute step 3;
[0043] Step 21, timing;
[0044] Step 22, after timing for a period of time, determine whether the SESSION information is invalid;
[0045] Step 23, when it is determined that the SESSION information is invalid, clear the SESSION information;
[0046] Step 3, log off the system and clear the SESSION information.
[0047] During the normal use of the system, if the browser is closed abnormally, the system SESSION can be quickly invalidated by timing judgment and cleaning, so as to avoid the occurrence of abnormal closing of the browser. question.
[0048] Wherein, the process of logging into the system and accessing the sy...
example 1
[0057] Step 1, log in to the system and visit the system page;
[0058] Step 1-1, access the system;
[0059]Step 1-2, determine whether the SESSION information in the system is invalid, if not, access the system page; otherwise, perform steps 1-3;
[0060] Step 1-3, jump to the login page;
[0061] Steps 1-4, enter the account password to log in;
[0062] Step 1-5, verify whether the entered account password is correct, if the verification is correct, execute step 1-1, otherwise execute step 1-3;
[0063] Step 2, if the browser closes abnormally when accessing the system page, execute steps 21-23, otherwise execute step 3;
[0064] Step 21, time 30 seconds;
[0065] Step 22, determine whether the SESSION information is invalid after 30 seconds of timing;
[0066] Step 23, when it is determined that the SESSION information is invalid, clear the SESSION information;
[0067] Step 3, log off the system and clear the SESSION information.
[0068] From Example 1, it can be ...
example 2
[0071] Step 1, log in to the system and visit the system page;
[0072] Step 1-1, access the system;
[0073] Step 1-2, determine whether the SESSION information in the system is invalid, if not, access the system page; otherwise, perform steps 1-3;
[0074] Step 1-3, jump to the login page;
[0075] Steps 1-4, enter the account password to log in;
[0076] Step 1-5, verify whether the entered account password is correct, if the verification is correct, execute step 1-1, otherwise execute step 1-3;
[0077] Step 2, if the browser closes abnormally when accessing the system page, execute steps 21-23, otherwise execute step 3;
[0078] Step 21, cycle timing, the cycle is 20 seconds;
[0079] Step 22, after every 20 seconds, determine whether the SESSION information is invalid;
[0080] Step 23, when it is determined that the SESSION information is invalid, clear the SESSION information;
[0081] Step 3, log off the system and clear the SESSION information.
[0082] From E...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


