c# 带有重定向的 ASP HttpResponse 导致 HTTP 302

发布于 2024-08-29 08:18:20 字数 247 浏览 3 评论 0原文

我有网页 A 和 B 的流程。 在网页 A 上,我执行“Response.Redirect("B.aspx"); 页面B需要客户端证书。重定向完成后,我会看到一个弹出窗口,要求提供客户端证书。我选择从智能卡检索到的正确证书,然后插入 PIN 码。紧接着,我看到一个页面说连接丢失,并且收到 HTTP 302。我从未到达页面 B.aspx。我尝试添加以下行“Response.RedirectLocation =”B.aspx”;但也没有成功。

有任何提示吗? 谢谢

I have a flow of web pages A and B.
On the web page A, I do a "Response.Redirect("B.aspx");
The page B needs a client certificate. When the redirect is done I see a popup asking for a client certificate. I select the correct certificate, which is retrieved from a smart card, and then I insert the pin. Right after, I see a page saying that the connection was lost, and I receive an HTTP 302. I never reach the page B.aspx. I tried to add the following line "Response.RedirectLocation = "B.aspx"; but with no success too.

Any hints?
Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文