|
|
Using the all the Request.ServerVariables Object
Active Server Pages exposes an object called ServerVariables, which is part of the Request object. This ServerVariables object allows the programmer to see many environment variables. You can use the ServerVariables along with IIS's directory sercurity options to determine who is currently accessing your site. You can also grab the visitor's IP address using the ServerVariables object. Method using System.Collections.Specialized; protected void Button1_Click(object sender, EventArgs e) NameValueCollection NVCSrvElements = Request.ServerVariables; for (int i = 0; i < array1.Length; i++)
|

