在Web服务器和wesite之间传递数据. [英] data passing between webserver and wesite.
问题描述
你好,
我正在参与应用程序开发.
在这里,我们有一个具有GPRS连接的设备.从设备中,一个请求(以URL的形式)将到达Web服务器.
我必须设计一个网站,使其能够接收该请求并对其进行处理,然后将响应发送回该设计.
我是Web开发领域的初学者.我很想知道如何在我的网站中检索该requset并将其发送回.用于学习实现此功能的任何参考材料.
我可以为此使用HTTP GET,POST方法吗?如果可以,该怎么办?
我正在使用VB.Net.
需要帮忙.
谢谢.
Hello,
I am taking part in an application development.
In this, we have a devise which have GPRS connectivity.From the devise,a request(in the form of a URL) will come to the webserver.
I have to design a website such that it receives that request and process it and sends back the response to that devise.
I am a beginner in web development area. I wolud like to know how that requset can be retrieved in my website and send the response back. Any referense material for learning to implemet this functionality.
Can I use the HTTP GET,POST methods for this and if so ,how can I do it?
I am using VB.Net.
Need help.
Thanks.
推荐答案
不是100万%的人确定您要做什么,但是如果您只是想在某些网站/服务器之间传递变量,我建议在代码中放这样的东西...
正在发送网站
Not 1 Million percent sure what you are trying to do, but if you are just wanting to to pass variables around certain websites/servers I suggest in code putting something like this...
Sending website
Dim Object as String = "Whatever"
Response.Redirect("ReceivingWebsite.aspx?Paramater=" & Object)
并且在接收网站上:
And the on the receiving website:
Dim Object As String = Request.QueryString("Paramater")
让我知道这是否不是您想要的...
Let me know if this ain''t what your looking for...
这篇关于在Web服务器和wesite之间传递数据.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!