Method for preventing repeat submission of page

A technique for repeated submissions and pages, which is applied in special data processing applications, website content management, instruments, etc. It can solve the problems that pages cannot be submitted, iframe homepages cannot be submitted, etc., and achieve the effect of preventing repeated submissions and the method is simple and efficient

Inactive Publication Date: 2018-04-03
成都萌想科技有限责任公司
View PDF2 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] 3. When the page has an iframe (whether it is hidden or not), the cmd executed by the iframe will rewrite the token in the session, so that the homepage where the iframe is located cannot be submitted
[0007] 4. When multiple tab pages are used to display content on one page, and the user opens multiple pages, the newly opened page will modify the token in the session, causing the previously opened page to be unable to submit

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the embodiments of the present invention. Apparently, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0020] A method to prevent repeated submission of pages, modify the traditional Token token mechanism, and generate a unique token at the position required by each form of HTML. Each page consists of tokens of multiple forms to form a group. When submitting, the front end will The token and token group are passed to the backend, and the backend performs hit storage through each form group stored in the group. After comparison, each token corresponds to a token, and puts the token i...

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 relates to the technical field of computer application, and particularly relates to a method for preventing repeat submission of a page. The method includes steps of modifying a traditional Token mechanism; adopting a token object distributed in group, wherein every token object is corresponding to 1 url request, and all token objects form a token object group; then accumulating thesignal volume of token and comparing with 1; taking out the token group corresponding to the page from a serve before judging if it is repeatedly submitted; then judging if every object in the group and the token object of current request have the signal volume plus 1; if it is more than 1, regarding that the page is repeatedly submitted; terminating operation and returning wrong information prompt; if not, executing the business procedure, and finishing the detection. The token is generated through a form and cannot be modified; meanwhile, one token is corresponding to one request, the repeatsubmission of the whole page is controlled, thus infinite number of token groups can be placed; the method is simple and high-efficient, and able to effectively prevent the page from repeated submission.

Description

technical field [0001] The invention relates to the technical field of computer applications, in particular to a method for preventing repeated submission of pages. Background technique [0002] The Token (token) mechanism is adopted in the prior art scheme, and the principle is as follows: when accessing a request, the underlying framework puts a token (the so-called token is a randomly generated character string) into the session and stores it. Then turn to the page. The html:form tag in the page saves the token in the session to a hidden input field in the form form. When the user finishes entering the data and clicks save to execute the save request, the underlying framework will be in the business Before the program judges whether the token in the session is equal to the token in the hidden input field passed by the client, if they are equal, update the token in the session and execute the business program; when the system responds slowly, the user may It will click th...

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): H04L29/08G06F17/30
CPCG06F16/958H04L67/14H04L67/34
Inventor 王承明
Owner 成都萌想科技有限责任公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products