ASP.NET Response.Redirect not working as expected RRS feed

  • General discussion

  • Hi all,

    I have two asp.net web applications. I am going to implement SAML SSO and SLO. I have successfully implemented SAML SSO and now I am in the process of developing SAML SLO. When the App1 send the Logout request to IDP I successfully get the logout request from the IDP as a POST request(no redirections, no browser involvement) at the App2. Then I want to redirect APP2 to home page but Response.Redirect is not working there. Any thoughts on this ?


    • Edited by chiranK Wednesday, January 24, 2018 6:56 AM
    • Moved by Sabah ShariqMVP Wednesday, January 24, 2018 9:35 AM Moved From Visual C#
    Wednesday, January 24, 2018 6:51 AM

All replies

  • response.rediriect is typical something as using ASP.Net as if it was plain HTML 

    You should not use it. 

    Success Cor

    Wednesday, January 24, 2018 7:22 AM
  • Hi,

    I'm sorry. I didn't get your point. Can you please explain?


    Wednesday, January 24, 2018 8:28 AM
  • Maybe App2 should periodically check the status using some JavaScript requests, and redirect when needed? Better to see at https://forums.asp.net/ and https://www.asp.net/signalr.

    Wednesday, January 24, 2018 8:32 AM