Web :: General :: locating client IP in JavaScript |
|||
| By: Bernard |
Date: 31/12/2005 13:51:28 |
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 | 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 |
|||
©2010 These pages are served without commercial sponsorship. (No popup ads, etc...). Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Please DO link to this page!








