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

New Improved Search!

 


05/10/2011 1h30 : Steve Jobs is dead, the father of Apple ][ is gone, we are all orphaned.

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

EContact
browser fav
page generated in 296.602960 milliseconds

Why Google AdSense ads ?

compteur
 Ranking-Hits PageRank for this page