Home > Backend Development > PHP Tutorial > If the form is submitted using ajax, does it mean that there is no need to consider the issue of repeated submission of the form after refreshing the page?

If the form is submitted using ajax, does it mean that there is no need to consider the issue of repeated submission of the form after refreshing the page?

WBOY
Release: 2023-03-01 19:46:01
Original
1005 people have browsed it

When submitting with ajax, do you need to consider the issue of repeated submission of the form?

Reply content:

When submitting with ajax, do you need to consider the issue of repeated form submission?

How is ajax triggered? Is it possible to trigger it multiple times?

It depends on your specific situation.

As long as you trigger an event, such as a click event, your refresh at this time has nothing to do with asynchrony. You refresh but your request has already been sent,

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template