M
MATTK
Hello,
I am porting my existing ASP business logic into C#, compiling as an
application, then using COM callable wrappers to instantiate the
application under ASP.
I am trying to use HttpContext.Current.Request.MapPath in my c# code,
but when I call the code from ASP HttpContext.Current returns NULL
every time.
Please note that this is NOT ASP.NET, but that I am using this on an
existing ASP page.
My problem is that HttpContext.Current always returns NULL, which
means that I cannot use the members of this class to grab these
important objects.
Does anyone know how to do this?
I am porting my existing ASP business logic into C#, compiling as an
application, then using COM callable wrappers to instantiate the
application under ASP.
I am trying to use HttpContext.Current.Request.MapPath in my c# code,
but when I call the code from ASP HttpContext.Current returns NULL
every time.
Please note that this is NOT ASP.NET, but that I am using this on an
existing ASP page.
My problem is that HttpContext.Current always returns NULL, which
means that I cannot use the members of this class to grab these
important objects.
Does anyone know how to do this?