Unlock instant, AI-driven research and patent intelligence for your innovation.

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.

Pending Publication Date: 2020-06-05
CHENGDU SANLING KAITIAN COMM IND
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the rapid development of web technology, its development also promotes the continuous development of the network, which affects the social and personal life. Due to the abnormal shutdown of the server, the system has not cleared the user's session status, so the user cannot log in to the system again with this account, and must wait for the system session to automatically expire before logging in to the system again

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for quick failure of system SESSION after abnormal closing of browser
  • Method and device for quick failure of system SESSION after abnormal closing of browser
  • Method and device for quick failure of system SESSION after abnormal closing of browser

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and a device for quick failure of a system SESSION after abnormal closing of a browser. The method comprises the following steps of: 1, logging in the system and accessing a system page, 2, if the browser is abnormally closed when the system page is accessed, executing the steps 21 to 23, or otherwise, executing the step 3, 21, executing timing, 22, judging whetherthe SESSION information is invalid or not after timing for a period of time, 23, when judging that the SESSION information is invalid, cleaning the SESSION information, and 3, cancelling the system and cleaning the SESSION information. In the normal use process of the system, if the browser is abnormally closed, the system SESSION can quickly fail through regular judgment and cleaning, and the problem that when the browser is abnormally closed and a user needs to log in the system again, the system SESSION needs to wait for automatic failure of the system SESSION to log in the system again issolved.

Description

technical field [0001] The invention relates to the field of JavaWeb engineering, in particular to a method and a device for quickly invalidating a system SESSION after a browser is closed abnormally. Background technique [0002] With the rapid development of web technology, its development also promotes the continuous development of the network, which affects the social and personal life. Due to the abnormal shutdown of the server, the system has not cleared the user's session status, so the user cannot log in to the system again with this account, and must wait for the system session to automatically expire before logging in to the system again. Contents of the invention [0003] The technical problem to be solved by the present invention is to provide a method and device for quickly invalidating the system session after the browser is abnormally closed. In the normal use of the system, if the browser is abnormally closed, it will be cleared by timing judgment. , can q...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/958G06F21/31
CPCG06F16/958G06F21/31
Inventor 李斌杨瑾焜李金海吴震张正强
Owner CHENGDU SANLING KAITIAN COMM IND