Request Server Variables Item(REMOTE_ADDRESS) (VB.net) : Server Variables « Server « ASP.Net






Request Server Variables Item(REMOTE_ADDRESS) (VB.net)

<%@ Page Language="vb" %>
<html>
   <head>
      <title>Request property example</title>
      <script runat="server">
         Sub Page_Load()
            Message.Text = "The current request is from: " & _
               CStr(Request.ServerVariables.Item("REMOTE_ADDRESS"))
         End Sub
      </script>
   </head>
<body>
   <asp:label id="Message" runat="server"/>
</body>
</html>
           
       








Related examples in the same category

1.All Request Server Variables (VB.net)
2.Get all server variables (VB.net)