vbnet Loop through Server Variables
Public Function GetServerVariables() As String Dim s As New StringBuilder For Each x In Request.ServerVariables s.Append("<tr>") s.Append("<td>" & x & "</td>") s.Append("<td>" & Request.ServerVariables(x) & "</td>") s.Append("</tr>") Next Return s.ToString() End Function
Loops through Server Variables collection and returns them, using String Builder.
Updated: Thursday 7th October 2010, 11:15pm
There are 0 comments
Comments are currently closed.