当前位置: 动力学知识库 > 问答 > 编程问答 >

asp.net - Posting form to an aspx page in another application when cookieless set to true

问题描述:

I need to submit the form to another web application.

I have hosted 2 websites in my IIS. In website1 I have a page "Register.aspx" and I set PostBackUrl for the submit button to a page(Receiver.aspx) in website2. But I couldn't get the posted values in Receiver.aspx.

If I set the PostBack url to a page which is in website1, I could get the posted values using Request.Form["tbUserName"]. Please suggest me.

If I change the cookieless="UseCookies" it works fine.

分享给朋友:
您可能感兴趣的文章:
随机阅读: