Request Object from web site to web services

N

Nick

Hi,

I have a web site and web services that are in separate projects but hosted
on the same machine.

The web site calls the web services via LocalHost to access the business
logic.

What I want is for the web services to see basically the same Request Object
(IP, Browser settings, etc.) that the web site sees.

Currently the IP the web services see is the localhost (127.0.0.1) if they
are called from the web site but the external browser IP if called directly.

The idea is that the Web Services will work the same (recording IP, browser
type, etc.) in both cases.

Is it possible to do this in the code of the web site somehow (overwriting
headers, cookies)?

Thanks

Nick
 

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

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top