General information
Category:
COM/DCOM and OLE Automation
Very interesting. I never had reason to pass in the Request object. Please provide a simple example of how you would pass the Request object to a method call. Let's say I have a method called GetAllAppointments() in the com object. And... is there a way of avoiding having to supply each and every method call with this parameter?
Neil
>Neil,
>
>>I have 2 asp.net web sites on my production server whose web pages interact with the same MTDLL vfp com object, which resides on the same web server. Is there a way that the COM object can indentify which of the 2 web sites is accessing a method in it?
>
>I assume you are running with aspcompat=true to talk to the COM object? If so, you should be able to pass into your method call the actual Request object, or just a specific property of it that indicates the URL that is being processed. Or you can refer to whatever .NET property holds that info (don't remember off the top of my head) and pass it as a string into your method call.
>
>That's probably the easiest way to handle what you need.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only