NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Robert Iliuta on August 07, 2009, 05:15:09 AM
-
Hallo,
On the login form I need to get the ip local or external ip from the computer that login on the system. I try to find in manual but nothing found about this..... I need to store every login with the local and external ip address.
Appreciate any suggestions,
Thank you ,
Robert Iliuta
-
Hi Robert,
Use p_web.GetSessionIP()
to get the ip number of the request.
To get the local address would require the use of either an ActiveX object, or a Java (not JavaScript) object. JavaScript cannot get the local address of the PC.
Cheers
Bruce
-
Hallo Bruce,
Thank you for help.
p_web.GetSessionIP() in a LAN will return the local IP and over the WEB return the exernal IP.
It is ok for me.
Thanks again,
Regards,
Robert