vb如何创建session变量并赋值呢?
用vb做dll给asp调用,想在组件里生成session供asp页面调用

解决方案 »

  1.   

    还是没人理:( 
    up up up
      

  2.   

    Private ASPsc As ObjectContext
        Set ASPsc = GetObjectContext
        Set Server = ASPsc.Item("Server")
        Set Application = ASPsc.Item("Application")
        Set Session = ASPsc.Item("Session")
        Set Request = ASPsc.Item("Request")
        Set Response = ASPsc.Item("Response")
      

  3.   

    Public P_Session As ASPTypeLibrary.Session
    P_Session.Contents("vvv") = "yyyyy"  --赋值
    REsponse.write P_Session.Contents("kkk") ---取值