Re: Accessing intrinsic ASP (not ASP.NET) objects from .NET class
From: Kevin Spencer (kspencer_at_takempis.com)
Date: 07/01/04
- Next message: Franco Figún: "Re: Read EML with ASP.NET"
- Previous message: darrel: "Re: ASP.NET performance issue"
- In reply to: bruce barker: "Re: Accessing intrinsic ASP (not ASP.NET) objects from .NET class"
- Next in thread: Alek Davis: "Re: Accessing intrinsic ASP (not ASP.NET) objects from .NET class"
- Reply: Alek Davis: "Re: Accessing intrinsic ASP (not ASP.NET) objects from .NET class"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 1 Jul 2004 15:33:48 -0400
Regardless of whather you can use the ASP Request COM object from a wrapper,
you still can't get into the ASP application space.
-- HTH, Kevin Spencer .Net Developer Microsoft MVP Big things are made up of lots of little things. "bruce barker" <nospam_brubar@safeco.com> wrote in message news:uxw2Pw5XEHA.3988@tk2msftngp13.phx.gbl... > the asp request object is a standard com object. you can create a .net > wrapper for it, or use the com interop library. > > -- bruce (sqlwork.com) > > "Alek Davis" <alek_xDOTx_davis_xATx_intel_xDOTx_com> wrote in message > news:OqSBDn5XEHA.1764@TK2MSFTNGP10.phx.gbl... > > Yeah, I understand that the ASP.NET Request object is useless in this > case, > > but I am wondering how to retrieve the Request from ASP. It is definitely > > available (at least internally, at some level), so there must be a way to > > get to it (hopefully). Maybe through interop or some hacking technique? > Good > > info about pipes (thanks), I did not know that. > > > > "bruce barker" <nospam_brubar@safeco.com> wrote in message > > news:unNb8e5XEHA.2364@TK2MSFTNGP12.phx.gbl... > > > no. because your .net class is called from asp, not aspx, there is no > .net > > > request object or stream. > > > > > > backgroup, in aspx, asp runs in a seperate process, and uses a named > pipes > > > to communicate to the iis process. the .net response object writes to > this > > > pipe. obviously if you .net object is hosted by asp, this pipe does not > > > exist. > > > > > > you will need to add a method to you class where the asp can register > the > > > com based Request object, so the .net code can talk to it. > > > > > > -- bruce (sqlwork.com) > > > > > > > > > > > > "Alek Davis" <alek_xDOTx_davis_xATx_intel_xDOTx_com> wrote in message > > > news:%23TN3Br4XEHA.2812@TK2MSFTNGP11.phx.gbl... > > > > Hi, > > > > > > > > Is it possible to access intrinsic ASP objects, such as Request, from > a > > > .NET > > > > class. Say, I have a .NET library exposed via a COM or COM+ wrapper. > Can > > > > this library retrieve the request info (basically, server variables > > > exposed > > > > via the Request object), when it is invoked from a traditional ASP > (not > > > > ASP.NET) application? Any ideas? Thanks in advance. > > > > > > > > Alek > > > > > > > > > > > > > > > > > > > >
- Next message: Franco Figún: "Re: Read EML with ASP.NET"
- Previous message: darrel: "Re: ASP.NET performance issue"
- In reply to: bruce barker: "Re: Accessing intrinsic ASP (not ASP.NET) objects from .NET class"
- Next in thread: Alek Davis: "Re: Accessing intrinsic ASP (not ASP.NET) objects from .NET class"
- Reply: Alek Davis: "Re: Accessing intrinsic ASP (not ASP.NET) objects from .NET class"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|