POST parameters NULL

Discussion in 'Site Programming, Development and Design' started by RobGruen, May 8, 2012.

  1. I have a problem with POST-requests to all of my Controller-methods of my ASP.Net MVC3 application.
    If I start my Website locally on my machine, I can access the required data using both GET- or POST-requests.
    On the host only GET-requests are working, i.e. if I call the same controller-method using POST all the parameter values are null.
    The method itself is called and I checked the value of Request.HttpMethod - it is correctly set to POST.
    Also the values of Request.Url.AbsolutePath, Request.Url.Authority, Request.Url.... seem to be correct.
    But all the request-parameters (e.g. Request["FIRSTNAME"]) are null in the case of POST.
    Has anyone any idea, what could cause this strange effect.
    Thanks in advance.
     

Share This Page