Home >Backend Development >PHP Tutorial >If the server issues a cookie and the client does not carry the cookie when submitting the form, is the form submission valid?

If the server issues a cookie and the client does not carry the cookie when submitting the form, is the form submission valid?

WBOY
WBOYOriginal
2016-07-06 13:52:451157browse

If the server issues a cookie and the client does not carry the cookie when submitting the form, is the form submission valid?

Reply content:

If the server issues a cookie and the client does not carry the cookie when submitting the form, is the form submission valid?

The form can definitely be submitted to the server, but after the server receives the submission request, it will depend on your logic to determine whether it is valid or invalid.
Generally, the server needs to verify whether the cookies are legal. If not, it will directly give an error message.

Statement:
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