MVC HttpPost attribute not working
For some reason both the Get and Post fire the first action.

    public ActionResult Login()
    {
       return View();
    }

    [HttpPost]
    public ActionResult Login(FormCollection form)
    {
       // Login Stuff here... never gets reached!
    }

I've basically copied this directly from the MVC music store sample.  Tried it in another app and it worked fine.

this is a fairly new project, used the base MVC3 project template in Visual Studio, all the default settings.

I made sure the HTML output specifies the POST method:

    <form action="/Home/Login" method="post">

Here is my Login.cshtml

    @{
        ViewBag.PageTitle = "Login";
    }
    <section id="index">
    <header>
        <h2>Login</h2>
    </header>
    <content>
        @using (Html.BeginForm("Login", "Home", FormMethod.Post))
        {
            <panel id="login">
                <table>
                    <tr>
                        <td>Email:</td>
                        <td><input name="Email" /></td>
                    </tr>
                    <tr>
                        <td>Password:</td>
                        <td><input name="Password" type="password" /></td>
                    </tr>
                    <tr>
                        <td colspan="2" align="center"><input type="submit" value="Login" /></td>
                    </tr>
                </table>
            </panel>
        }
    </content>
    </section>

   
MVC HttpPost attribute not working
===

For some reason both the Get and Post fire the first action.

    public ActionResult Login()
    {
       return View();
    }

    [HttpPost]
    public ActionResult Login(FormCollection form)
    {
       // Login Stuff here... never gets reached!
    }

I've basically copied this directly from the MVC music store sample.  Tried it in another app and it worked fine.

this is a fairly new project, used the base MVC3 project template in Visual Studio, all the default settings.

I made sure the HTML output specifies the POST method:

    <form action="/Home/Login" method="post">

Here is my Login.cshtml

    @{
        ViewBag.PageTitle = "Login";
    }
    <section id="index">
    <header>
        <h2>Login</h2>
    </header>
    <content>
        @using (Html.BeginForm("Login", "Home", FormMethod.Post))
        {
            <panel id="login">
                <table>
                    <tr>
                        <td>Email:</td>
                        <td><input name="Email" /></td>
                    </tr>
                    <tr>
                        <td>Password:</td>
                        <td><input name="Password" type="password" /></td>
                    </tr>
                    <tr>
                        <td colspan="2" align="center"><input type="submit" value="Login" /></td>
                    </tr>
                </table>
            </panel>
        }
    </content>
    </section>

   