开发者

c# ASP HttpResponse with redirect causes HTTP 302

开发者 https://www.devze.com 2022-12-26 23:17 出处:网络
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 certif

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 inser开发者_如何学编程t 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

0

精彩评论

暂无评论...
验证码 换一张
取 消