能不能给一段调用处理的例子,谢谢!

解决方案 »

  1.   

    Request对象只在 ASP 环境有效,但你可以试试其他办法,其实它只是一个集合(name-value),你完全可以遍历Request,将它的值存放在你写的一个集合中,再传给COM组件。至于集合,你可以简单的封装一下 collection or dictionary
      

  2.   

    引用:Microsoft Active Server Page Object Libary
         COM+ Services Type LibaryPrivate objContext       As ObjectContext       'asp内建对象
    Private objResponse      As Response
    Private objRequest       As Request
    Private objApplication   As Application
    Private objSession       As Session    Set objContext = GetObjectContext()
        Set objApplication = objContext("Application") 'Obtain ASP Application object.
        Set objSession = objContext("Session") 'Obtain ASP Session object.
        Set objResponse = objContext("Response") ' Obtain ASP Response object.
        Set objRequest = objContext("Request")   ' Obtain ASP Request  object.