I need to send some parameters to a URL outside my network, and the developers on the other hand asked me not to use HTTP parameters: instead, I should publish my key values in HTTP headers .
The thing is, I really don’t understand what they mean: I tried to use an ajax-like record with XmlHttp objects, and also tried to write something like in the header
Request.Headers.Add(key,value);
but I can not (exception from the framework); I tried the opposite using a Response object like
Response.AppendHeader("key", "value");
and then redirect to the page ... but that doesn't work either.
Obviously, I think I'm stuck there, any help?
EDIT I forgot to tell you that my environment is .Net 2.0, C #, on Win server 2003. With the exception I received
System.PlatformNotSupportedException was unhandled by user code
Message="Operation is not supported on this platform."
Source="System.Web"
, Request.Add, MS , .