Subject: HttP Post with redirection into that page in asp.net 3.5
Date: 2013-12-16 11:30:00
From: Karthikeyan Ramalingam
Source: http-post-redirection-page-asp-net-3-5
----------------------------------------------------------------------

Hi,

I am using saml2.0 to access the application through http post and get a response as a webpage.I am able to get a page in windows application.Same thing if i do in web app using asp.net 3.5.I am getting the error response as 'Bad header syntax error '.Can you tell me the right way to do http post with redirection into that page.

I have Done HTTP POst through ,HTTP web request but it is returning bad header syntax.

To do redirection into that page.I have created form tag with the Ip address URL  and Hiddden field as data need to be posted into that URL. and after that I have made form sumbit .Still I am getting same error.Also I have got error called No 'Access-Control-Allow-Origin' header is present on the requested resource'. Even though I have made seetings in web config

<httpProtocol>

            <customHeaders>

                <add name="Access-Control-Allow-Origin" value="*" />

            </customHeaders>

-                  </httpProtocol>

Please help me to resolve this issue

Thanks In advance

Karthikeyan R

---------------------------------------------------------------------- Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor who sold you the license and ask for your money back. Back to ComponentPro Q&A Forum Index