<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div><span>For my .NET C# protected resource page, the following works fine:</span></div><div><br></div><div>To iterate through all that are passed:</div><div><br><span></span></div><div style="margin-left: 40px;"><span>foreach (string key in Request.ServerVariables.AllKeys)</span></div><div><br><span></span></div><div><span>To reference a specific value:</span></div><div><br><span></span></div><div style="margin-left: 40px;"><span>value = Request.ServerVariables[key];<br></span></div><div><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><font size="2" face="Arial"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> Brent Putman <putmanb@georgetown.edu><br><b><span style="font-weight: bold;">To:</span></b>
users@shibboleth.net<br><b><span style="font-weight: bold;">Sent:</span></b> Thursday, November 3, 2011 10:36 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: how do I read attributes from headers??<br></font><br>
<br><br>On 11/4/11 12:05 AM, <a ymailto="mailto:ssripathy25@yahoo.com" href="mailto:ssripathy25@yahoo.com">ssripathy25@yahoo.com</a> wrote:<br>> Brent,<br>> I did read that do. Still confused on why attrs show up on the session info page but not when I dump headers from my <a target="_blank" href="http://ASP.NET">ASP.NET</a> page. I am printing out ALL headers in my ASP.NET page.<br><br>I may be mis-remembering, but I think in the ASP.NET world, the Shib<br>headers don't show up in the enumeration or iteration that you get from<br>the request structure. You have to request them individually by name.<br>Have you tried that?<br><br>--<br>To unsubscribe from this list send an email to <a ymailto="mailto:users-unsubscribe@shibboleth.net" href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br><br><br></div></div></div></body></html>