服务器之间,远程传输一些数据(不经过URL)
2008-12-11 20:58
375 查看
服务器之间,远程传输一些数据(不经过URL)
Protected Class RemotePostClass RemotePost
2
3 Public Url As String = "http://www.sss.com/"
4 Public Method As String = "post"
5 Public FormName As String = "form1"
6 Public paybill As String = "payment_amount"
7
8 Public Sub Post()Sub Post(ByVal output As Double)
9 System.Web.HttpContext.Current.Response.Clear()
10 System.Web.HttpContext.Current.Response.Write("<html><head>")
11 System.Web.HttpContext.Current.Response.Write(String.Format("</head><body><body onload=""document.{0}.submit()""><br/><br/><br/><br/><br/><br/><br/>", FormName))
12 System.Web.HttpContext.Current.Response.Write("<p align=""center"" style=""font-size: 24px""><embed src = ""images/test.swf"" width = ""100"" height = ""100"" allowscriptaccess = ""always"" allowfullscreen = ""true"" /><br/>Please wait while, we process your details</p>")
13 System.Web.HttpContext.Current.Response.Write(String.Format("<form name=""{0}"" method=""{1}"" action=""{2}"">", FormName, Method, Url))
14 System.Web.HttpContext.Current.Response.Write(String.Format("<input name=""{0}"" type=""hidden"" value=""{1}"">", paybill , output))
15 System.Web.HttpContext.Current.Response.Write("</form>")
16 System.Web.HttpContext.Current.Response.Write("</body></html>")
17 System.Web.HttpContext.Current.Response.End()
18 End Sub
19End Class
Protected Class RemotePostClass RemotePost
2
3 Public Url As String = "http://www.sss.com/"
4 Public Method As String = "post"
5 Public FormName As String = "form1"
6 Public paybill As String = "payment_amount"
7
8 Public Sub Post()Sub Post(ByVal output As Double)
9 System.Web.HttpContext.Current.Response.Clear()
10 System.Web.HttpContext.Current.Response.Write("<html><head>")
11 System.Web.HttpContext.Current.Response.Write(String.Format("</head><body><body onload=""document.{0}.submit()""><br/><br/><br/><br/><br/><br/><br/>", FormName))
12 System.Web.HttpContext.Current.Response.Write("<p align=""center"" style=""font-size: 24px""><embed src = ""images/test.swf"" width = ""100"" height = ""100"" allowscriptaccess = ""always"" allowfullscreen = ""true"" /><br/>Please wait while, we process your details</p>")
13 System.Web.HttpContext.Current.Response.Write(String.Format("<form name=""{0}"" method=""{1}"" action=""{2}"">", FormName, Method, Url))
14 System.Web.HttpContext.Current.Response.Write(String.Format("<input name=""{0}"" type=""hidden"" value=""{1}"">", paybill , output))
15 System.Web.HttpContext.Current.Response.Write("</form>")
16 System.Web.HttpContext.Current.Response.Write("</body></html>")
17 System.Web.HttpContext.Current.Response.End()
18 End Sub
19End Class
相关文章推荐
- 【数据传输 1】服务器—>客户端之间的数据类型转换
- scp采用无密码在两台linux服务器之间传输数据
- 无需输密码实现两台ubuntu服务器之间的数据传输
- 使用ssh协议在github服务器和本机之间进行数据传输
- Android:客户端和服务器之间传输数据加密
- 【数据传输 1】服务器—>客户端之间的数据类型转换
- HttpURL连接远程服务器Get和Post方式请求并返回数据
- Android:客户端和服务器之间传输数据加密
- 本地不同数据库或远程服务器之间数据交换
- java httpURL连接远程服务器并返回数据(httpurlconnection)
- linux scp-两台服务器之间传输数据的命令
- 数据库增量同步(二台SQL Server服务器的数据库之间增量传输数据)(jaime原创)
- java httpURL连接远程服务器并返回数据(httpurlconnection)
- 解如何利用 XML 和 JavaScript Object Notation 在 Ajax 客户端和 Java 服务器之间传输数据。
- linux scp-两台服务器之间传输数据的命令
- 服务器之间传输数据限制带宽
- java httpURL连接远程服务器并返回数据(httpurlconnection)
- Linux的rsync 配置,用于服务器之间远程传大量的数据
- WCF 通过net tcp 协议 ,在服务端服务器和客户端服务器之间传输数据,注意配置事项
- java httpURL连接远程服务器并返回数据(httpurlconnection)