When the user try to visit the authenticated page, it is redirected to the LogOn page. Following is the LogOn action:

**Controller Action**

```
 [HttpPost]
  public ActionResult LogOn(LogOnModel model, string returnUrl)
  {
    //Authentication codes goes here .......
  }

```

**LogOn View**:

```
  @using (Html.BeginForm("LogOn", "Account", FormMethod.Post, new {  @class = "jmenu" }))
   {
     // Form for login codes goes here......
  }

```

**Problem:**
In LogOn View when I didn't put parameter in Html.BeginForm() it works fine as I want. The page is redirected to the page after login where the user is redirected to login for authentication. But if I pass parameter as above, after login it is redirected to the Home page. Here, it might be due to the returnUrl is not passed to the LogOn action. How can I passed returnUrl parameter in Html.BeginForm for LogOn action. OR, Is it possible without changing the view and modifying in the LogOn action so that I don't have to change for other view's code. Thanks for your time...