Find Visitors IP Address



Find Visitors IP Address To find a visitors IP Address it's actually quite simple.

In your vb code you can use Request.ServerVariables("REMOTE_ADDR") to display the ip address of the person viewing you web page.

An example of this would be:-
<script language="vb" runat="server">
  Sub Page_Load(ByVal Sender as Object, ByVal E as EventArgs)
    txtIP.Text = Request.ServerVariables("REMOTE_ADDR")
  End Sub
</script>
You could then include this IP address in applications such as contact us pages where an email is sent.


Send a link to this page via email Send a link to this page via email