Locked request.querystring always return null ...

  • Friday, August 03, 2012 10:17 AM
     
     

    request.querystring always return null ...i tried to get the form value for the

    HttpContext.Current.Request.RawUrl //it showing only url but it form values are null.

    request.querystring[""] return null in controller

    Request.form[""] // its also  return null in controller

    HttpContext.Current.Session["Response"] // null

    i'm getting  same thing in application_beginrequest {} mehtod ,when i try to get the same in mvc2 controller it always return null   

    do i missing anything here..

All Replies

  • Monday, August 06, 2012 9:34 AM
     
     

    Hi,

    Firstly i don't think this post is connected to Dynamic Languages. You should post this question in the ASP.NET forums.

    Secondly Request.QueryString[""] (and everything else that you have mentioned) should return null if you just specify an empty string. 

    Regards,

    Nauzad Kapadia.