Accessing ASP.NET HttpContext from a Web Service

  • Thread starter Thread starter Vincent Keller
  • Start date Start date
V

Vincent Keller

Hi,

I have a web application which accesses a web service as per requirements.
Depending on some of the processing done in the web service, I would need to
access the HttpContext of the web application. Now since, the web
application and the web service are running in separate AppDomains I am
unable to access the HttpContext of the web application.

Is there a way by which I can make a cross AppDomain call to get the
HttpContext of the current web application calling the web service ?

Thanks in advance.
 
They are separate applications, and therefore do not (and should not) have
access to eachother's application variables.
I'd suggest storing common data in a common database so both applications
can reach it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top