I am trying to submit a form to a handler page but nothing is working now, it doesn't even hit the handler...
Here is my code :
<form action="Unsubscription.ashx?actionmethod=subscribe" method="get" >
<div class="h1">
<input type="text" class="input" value="enter your e-mail" name="ekey"  />
<input type="submit" value="Submit" />
</div>
</form>
handler code :
public void ProcessRequest(HttpContext context)
{
    try
    {
        string email = context.Request.Params["ekey"];
        switch (context.Request.Params["actionmethod"])
        {
            case "subscribe":
                NewsLetter.Subscribe(email);
                break;
            case "unsubscribe":
                NewsLetter.Unsubscribe(email);
                context.Response.ContentType = "text/html";
                context.Response.Write("your subscription has been successfully canceled. thanks.<br/><a href='http://www.kayatax.com'><b>home page</b></a>");
                break;
        }
    }
    catch         {
        context.Response.ContentType = "text/html";
        context.Response.Write("This e-mail doesn't exist in our database. Thanks.<br/><a href='http://www.kayatax.com'><b>Home Page</b></a>");
    }
}
 
     
     
     
    