//// Load ServerVariable collection into NameValueCollection object.
//coll = Request.ServerVariables;
//// Get names of all keys into a string array.
//String[] arr1 = coll.AllKeys;
//for (loop1 = 0; loop1 < arr1.Length; loop1++)
//{
// Response.Write("Key: " + arr1[loop1] + "
");
// serverVariable.Append("Key: " + arr1[loop1] + ": ");
// String[] arr2 = coll.GetValues(arr1[loop1]);
// for (loop2 = 0; loop2 < arr2.Length; loop2++)
// {
// Response.Write("Value " + loop2 + ": " + Server.HtmlEncode(arr2[loop2]) + "
");
// //serverVariable.Append("Value " + loop2 + ": " + Server.HtmlEncode(arr2[loop2]) + "\n");
// }
//}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment