To get url and ipaddress of request
Hi Friends,
I am developing an admanagment system to. Here i have created an asmx file which returns path of image when an request arrives for an ad.
Here i need to get URL and IP address of request which i need to store so as to get number of views.
How can i get request URL. I have tried using "string url = HttpContext.Current.Request.Url.ToString();" but it returns its own url.
For example if esp.xxpsol.com is request url but it will store its own url say adv.xxp.com.
How to do this