displaying server variables in IIS
Doan, Tommy
tdoan at smu.edu
Thu Feb 27 13:37:38 EST 2020
The Shibboleth SP 3 documentation about accessing server variables from IIS mentions that looping through them fails to display the ones added by the SP.
https://wiki.shibboleth.net/confluence/display/SP3/IIS
I have an ASP.NET script that does this, but I didn't write it and don't know the source. Rather than contribute it to the page directly, I'll send it to the developers to evaluate. Something like this may have already been tried and discarded, but it works well in our environment.
<% @ Page Language="C#" %>
<%
Response.Write("<h3>Server Variables</h3>");
foreach (string var in Request.ServerVariables)
{
Response.Write(var + " = " + Request[var] + "<br>");
}
Response.Write("<h3>HTTP HEADERS</h3>");
foreach (string var in Request.Headers)
{
Response.Write(var + " = " + Request.Headers[var] + "<br>");
}
%>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20200227/42e50a16/attachment.html>
More information about the dev
mailing list