how do I read attributes from headers??

Mike Flynn shibbolethlynda at yahoo.com
Fri Nov 4 20:05:46 GMT 2011


For my .NET C# protected resource page, the following works fine:

To iterate through all that are passed:

foreach (string key in Request.ServerVariables.AllKeys)

To reference a specific value:

value = Request.ServerVariables[key];



________________________________
From: Brent Putman <putmanb at georgetown.edu>
To: users at shibboleth.net
Sent: Thursday, November 3, 2011 10:36 PM
Subject: Re: how do I read attributes from headers??



On 11/4/11 12:05 AM, ssripathy25 at yahoo.com wrote:
> Brent,
> 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 ASP.NET page.  I am printing out ALL headers in my ASP.NET page.

I may be mis-remembering, but I think in the ASP.NET world, the Shib
headers don't show up in the enumeration or iteration that you get from
the request structure.  You have to request them individually by name.
Have you tried that?

--
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20111104/d2cae393/attachment.html 


More information about the users mailing list