當前位置:首頁文章首頁 IT學院 IT技術

ASP請求對象Request

作者:  來源:  發(fā)布時間:2011-6-23 11:26:21  點擊:

下面提供給大家分享的是關于ASP請求對象Request的實例,希望能夠給大家?guī)韼椭騿l(fā)。

當用戶通過HTTP訪問服務器,要按照一定的輸入?yún)?shù),返回不同的結(jié)果,要用到Request對象。
      比如:http://localhost/zxg.asp?a=1&b=2
     <%
          if request("a")=1 and request("b")=2 then
                 //處理一些相關的內(nèi)容
                respose.write("sdfdsf")
          end if

set fso=server.createObject("scripting.filesystemobject")
  set ReadTemp=fso.opentextfile("c:\zxhg.XML",1)
  str=readtemp.readall
' response.contenttype="text/xml"
  response.write(str)

相關軟件

相關文章

文章評論

軟件按字母排列: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z