通过 HTTP 响应传递 UN 和 PW
我想知道是否可以将用户重定向到需要用户名和密码的网页,例如 IIS 验证网站所需的用户名和密码,并通过 UN 和 PW 自动发送,例如 -
Response.Username = "";
Response.Password = "";
Response.Redirect("url");
I was wondering if its possible to redirect a user to a web page that required a username and password such as the one you would require for an IIS authenticated web site and automatically send through the UN and PW, eg -
Response.Username = "";
Response.Password = "";
Response.Redirect("url");
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为在默认提供的任何身份验证表单下这是不可能的。这也不适用于跨域。
I do not believe this is possible under any of the authentication forms provided by default. This would not work across domains either.