P
Phil Ten
Hello,
I am working on a .NET C++ project based on the
"Class Library (.NET)" wizard of Visual Studio .NET 2003.
I would like to know if my .NET component is running
in a ASP.NET page (.apsx file), and if it is the case I would
like to execute a specific task based on the current
HTTP request.
I searched the Microsoft documentation but couldn't
find much information.
1) How can I know if my component is running in an
ASP.NET page?
2) If so, how can I access the current HTTP request?
I think that I must access object
"System.Web.HttpContext.Current.Request".
If this is correct, I have no idea how to do so
within my C++ .NET project?
All help would very appreciated. Thank you very much.
Phil Ten
I am working on a .NET C++ project based on the
"Class Library (.NET)" wizard of Visual Studio .NET 2003.
I would like to know if my .NET component is running
in a ASP.NET page (.apsx file), and if it is the case I would
like to execute a specific task based on the current
HTTP request.
I searched the Microsoft documentation but couldn't
find much information.
1) How can I know if my component is running in an
ASP.NET page?
2) If so, how can I access the current HTTP request?
I think that I must access object
"System.Web.HttpContext.Current.Request".
If this is correct, I have no idea how to do so
within my C++ .NET project?
All help would very appreciated. Thank you very much.
Phil Ten