Server Side Variables | Language: | Server Sided ASP - JavaScript | Author: | Jon Lokken | Date: | 7-22-2008 | |
| Description: | View Example | This is used to display the request variables on an iis server with VBScript. |
<%@ LANGUAGE="JavaScript" %> <% var serverVars = Request.ServerVariables; for (i = 1; i <= serverVars.count; i++) { Response.Write(serverVars.Key(i) +":"+ serverVars(i) +"<br>"); } %>
Disclaimer: | Feel free to use this code I have written. I only ask that you leave my name in the comments. I take no responsibility for this code working, imply no warranty as to it's validity, and will not be held liable if you decide to try it. I am only trying to help out others so they don't have to struggle with the same problems as me... | |