如何在时间限制后禁用注册? [英] how to disable registration after a time limit ?

查看:66
本文介绍了如何在时间限制后禁用注册?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

晚上好!:)



我只是想问你们如何在例如15分钟内禁用用户注册并强迫用户重新加载页面并重新填写注册表单。也许每个网站都有这个功能。我需要你的抬头。

hi there, good evening :)

I just wanted to ask you guys how to disable user registration within for example .. 15 minutes or so and force the user to reload the page and fill the registration form again. Maybe every website have this functionality. I need heads-up from you.

推荐答案

你可以使用 JavaScript setTimeout 方法或在HTML中添加 meta 标记以进行刷新。您可以通过在 Google 上搜索来轻松获取代码。



但正如您所说,您想向用户显示一些提醒或其他什么东西,最好使用 setTimeout 方法。
You can refresh the page using JavaScript setTimeout method or by adding a meta tag in HTML for refreshing. You can easily get the codes by searching on Google.

But as you said you wanted to show user some Alert or something, so better to use setTimeout method.


这篇关于如何在时间限制后禁用注册?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆