http-status-code-307

Return 307 Temporary Redirect in ASP.NET MVC

Is it possible to return a 307 Temporary Redirect from a controller in ASP.NET MVC? I sometimes need to re-POST the values submitted from one form to another URI. Using JavaScript to do the selection on the client side (thereby bypassing this issue) is not an option. Redirecting via a GET is not an option as posted data includes an 8k...

POST requests fail when <sessionState cookieless="AutoDetect" /> is set

Consider the following case: A web server is running a .NET app with <sessionState cookieless="AutoDetect" />. A client is POSTing data to it using a simple HttpWebRequest (no cookies). This seemingly simple case causes major failure. Since .NET can't determine if the requesting agent (HttpWebRequest) supports cookies, it responds t...