[英]Rate limit user input without using JavaScript
What are the possibilities for rate limiting user input without using JavaScript? 不使用JavaScript对用户输入进行速率限制的可能性有哪些? The lesser round trips made to the server for this, the better. 为此,服务器往返行程越少越好。
没有JS,他们唯一的方法就是验证服务器上的输入,并向用户发送带有错误消息的页面。
您可以使用maxlength
但也需要在后端进行验证。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.