Guest_imported
New member
- Jan 1, 1970
- 0
Hi, hope someone can advise me, I'm developing a programme using ASP and use the commands
yourhost=request.ServerVariables("remote_host"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
and
yourip=request.ServerVariables("remote_addr"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
to find the IP address of a user. This works fine for most people who are using a single PC via a modem, or a single PC via broadband/ADLS. But when when someone is using a home network it unfortunately returns the address of their network card...this is a real problem if they are using a LAN about the house, but are connecting to the net using dial-up.
Does anyone have a solution that will return the IP address of the PPP Adapter?
Thanks for any help![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Reg.
yourhost=request.ServerVariables("remote_host"
and
yourip=request.ServerVariables("remote_addr"
to find the IP address of a user. This works fine for most people who are using a single PC via a modem, or a single PC via broadband/ADLS. But when when someone is using a home network it unfortunately returns the address of their network card...this is a real problem if they are using a LAN about the house, but are connecting to the net using dial-up.
Does anyone have a solution that will return the IP address of the PPP Adapter?
Thanks for any help
Reg.