Unable to fetch returnurl in asp.net mvc Controller
<p>I have two controllers Base and Login.</p>

<p>Base Controller:</p>

<pre><code>public ActionResult start()
    {
       string action = Request.QueryString[WSFederationConstants.Parameters.Action];
    }
</code></pre>

<p>Login Controller:</p>

<pre><code> public ActionResult Login(string user,string password,string returnUrl)
    {
        if (FormsAuthentication.Authenticate(user, password))
        {

            if (string.IsNullOrEmpty(returnUrl) &amp;&amp; Request.UrlReferrer != null)
                returnUrl = Server.UrlEncode(Request.UrlReferrer.PathAndQuery);

           return RedirectToAction("Start","Base", returnUrl });
        }
        return View();
    }
</code></pre>

<p>After authentication is done it gets redirected to Start action in Base Controller as expected.
But the querystring doesnot fetch the value. When hovered over the querystring it shows length value but not the uri.</p>

<p>How to use the url sent from Login controller in Base Controller and fetch parameters from it?</p>