visitor (0 QPoints)
  • FR
  • EN
  • NL
  • DE
  • ES
304 experts, 1182 registered users, 1626 questions already answered
European Experts Exchange, the very best site for high-quality IT solutions

New Improved Search!

 


The DDRK link is back online.
We got a one week service interruption, sorry.
(23-30/01/2010)

Web :: General :: locating client IP in JavaScript


By: Bernard France  Date: 31/12/2005 13:51:28  English  Points: 20 Status: Answered
Quality : Excellent
I want to know about a method for detecting client's IP which is
running behind a proxy server.
Is there any possible way in Javascript to get the IP address of the
client's machine which is using proxy.
By: VGR Date: 31/12/2005 13:53:21 English  Type : Answer
Well, it's indeed not possible to directly get the IP adress of the client behind the proxy, but i think it is possible to use (nasty) cookies on the client machine to store its IP as any other information (session variable, visit count, etc) so you can retrieve it anytime. If cookies are activated in the client browser, of course.

Personally, I think this is the only solution. The server only sees the proxy's IP@ so it can't help.

Do register to be able to answer

 Add This Article To:
 del.icio.usDel.icio.us  diggDigg  googleGoogle  spurlSpurl
 blinkBlink  wongWong  simpySimpy  yahooY! MyWeb 
EContact
browser fav
page generated in 38.973090 milliseconds

Why Google AdSense ads ?

compteur
 Ranking-Hits PageRank for this page