Asp.net跨域表单提交 [英] Asp.net Cross Domain Form Posting

查看:108
本文介绍了Asp.net跨域表单提交的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以张贴在不同的域从一个域到另一个应用程序的asp.net应用程序的数据?

Is it possible to post data from an asp.net application in one domain to another application on a different domain?

我见过一些人在这里提一些比较奇怪的方式注入到形式响应流的帖子,但这似乎矫枉过正。

I've seen some of the posts where people mention some rather strange ways to inject forms into the response stream, but this seems overkill.

这是可能的,什么是实现它没有黑客Asp.net死亡的最好方法?

Is it possible and what is the best way to achieve it without hacking Asp.net to death?

谢谢,
雅克

推荐答案

这绝对是可能的,而且pretty容易做到的。

It's absolutely possible, and pretty easy to do.


  1. 浏览帖子的数据到您的.net应用程序

  2. 您的应用程序使用HttpWebRequest对象发布数据到第三方网站

  3. 第三方网站提供的数据返回到您的应用程序或只接受邮寄。

  4. 您的应用程序响应你需要的任何浏览器。

我不知道你为什么会的形式注入到响应流或做任何时髦的那样。也许你可以添加一些关于您的要求。

I have no idea why you would "inject forms into the response stream" or do anything funky like that. Perhaps you could add a bit more about your requirements.

克里斯。

这篇关于Asp.net跨域表单提交的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆