Last post Aug 13, 2008 07:48 AM by esbenr
Jul 06, 2008 10:35 PM|dba123|LINK
Jul 06, 2008 11:22 PM|budugu|LINK
I guess, what you are trying is not possible..Check this
Jul 07, 2008 08:17 AM|dba123|LINK
This has to be possible. I'm doing an SSO based on a link that I'm forming per the requirements of the receiving 3rd party system. The 3rd party docs tell you to explicitly add certain values to the request header. So it has to be possible or else this
would not be a requirement on their end for the calling system (our system) for SSO to work when the user clicks on the link from our side that I generate via a class I created.
Jul 07, 2008 08:54 AM|ASP.N3T|LINK
I think you can use form, too. If you want to send your value in the request header, you can use ajax and XMLHttpRequest.
<form id="form1" runat="server">
document.getElementById('__SELECTEDTYPE').value = 1;
<input type="hidden" id="__SELECTEDTYPE" name="__SELECTEDTYPE" value="0" />
Aug 13, 2008 07:48 AM|esbenr|LINK
It is fully possible.
I have made a HttpModule where i actually changes the UserAgent, which is a read-only header in the Request.
Here's a link to another post i used as base for my user agent rewrite-module:
This method works pretty smooth, but if you want to edit an existing header (like the user agent, you'll have to write directly to the memory.) = You'll have to know what you are doing since i could create som ugly behaivour.