登录失败后显示Captcha弹出窗口

时间:2021-11-19 02:51:18

I have created two asp.net pages, if x times the login fails, I want to call the captcha page (second page) in a popup window. How do I automatically call the second page as a popup window in the first page without using a hyperlink button?

我创建了两个asp.net页面,如果x次登录失败,我想在弹出窗口中调用captcha页面(第二页)。如何在不使用超链接按钮的情况下在第一页中自动将第二页作为弹出窗口调用?

Are there any tutorials?

有没有教程?

1 个解决方案

#1


0  

Hmm, it's kind of weird that your question is significantly longer than your text.

嗯,你的问题明显长于你的文字有点奇怪。

Regardless, what you want is JavaScript:

无论如何,你想要的是JavaScript:

window.open('foo.aspx', ...);

You can find more info here: http://www.w3schools.com/js/default.asp

您可以在这里找到更多信息:http://www.w3schools.com/js/default.asp

#1


0  

Hmm, it's kind of weird that your question is significantly longer than your text.

嗯,你的问题明显长于你的文字有点奇怪。

Regardless, what you want is JavaScript:

无论如何,你想要的是JavaScript:

window.open('foo.aspx', ...);

You can find more info here: http://www.w3schools.com/js/default.asp

您可以在这里找到更多信息:http://www.w3schools.com/js/default.asp