I seem to have stumbled across a really weird issue when posting a static HTML page to an ASP.NET page:
Example:
<form action="Kiosk.aspx" method="post">
<input type="hidden" id="key" name="key" value="1234" />
<input type="hidden" id="action" name="action" value="download" />
<input id="btnGo" type="submit" value="Download" />
</form>
When I call it using
string strKioskKey = incomingWebContext.Request.Form["key"];
it always returns null - if I change both the parameters to "key1" it works sweet...
But the question is WHY? I have never heard of a reserved word for requests.