COM & Request Object
1 post
• Page 1 of 1
COM & Request Object
I have some code in a COM object that I need to be able to instantiate from a PHP web application. This COM object makes heavy use of the ASP.Net Objects, MTS, Request, Response and Session.
Can I use phalanger to instantiate this com object such that these ASP.Net objects would remain accessible to it? I'm using the following code in my dll to access them:
this.mts = CREATEOBJECT("MTxAS.AppServer.1")
IF !ISNULL(this.mts)
this.request = this.mts.getObjectContext().Item("Request")
this.response = this.mts.getObjectContext().Item("Response")
this.session = this.mts.getObjectContext().Item("Session")
this.server = this.mts.getObjectContext().Item("Server")
ENDIF
Can I use phalanger to instantiate this com object such that these ASP.Net objects would remain accessible to it? I'm using the following code in my dll to access them:
this.mts = CREATEOBJECT("MTxAS.AppServer.1")
IF !ISNULL(this.mts)
this.request = this.mts.getObjectContext().Item("Request")
this.response = this.mts.getObjectContext().Item("Response")
this.session = this.mts.getObjectContext().Item("Session")
this.server = this.mts.getObjectContext().Item("Server")
ENDIF
- bmarquis@codeplex
- Posts: 2
- Joined: January 7th, 2012, 8:54 pm
1 post
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 10 guests