dcsimg
How to retrive the IP address of the server from which the page containing the link to our servlet is generated?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sreedhar_Kankanala
Posted On:   Wednesday, February 13, 2002 09:47 AM

Hi!

We are working on an ASP model in which we will give a link and a piece of code to the web sites who are registered with us. When the end client clicks on the link, the request will come to the servlet running in our server.


My problem is how to get the ip address of the web site from which the page containing the link is generated. We have to validate this so that the request is really coming from the users of that site.


I cam eto know that this can be retrived from HTTP_REFFERER. But how to get this value? Please help me as I can not move forward without this being resolved.
Thanks.
Sreedhar.

Re: How to retrive the IP address of the server from which the page containing the link to our servlet is generated?

Posted By:   Alex_Chaffee  
Posted On:   Wednesday, February 13, 2002 10:00 AM

See How do i know from which page the request has come from?


Please search first, ask questions later.

About | Sitemap | Contact