Asp.Net MVC login form not working on chrome and firefox -


i have login form in mvc working on ie when using chrome , firefox , click on log in(after entering appropriate credentials),the page gets refreshed , and lands on same login page. validations working fine though.

      @using (html.beginform("logonstepone", "account", formmethod.post, new   { @class = "registration-form" }))         {              <div class="form-field inputfieldlogin top">                 <label for="accountnumber">                 account number                 @html.textboxfor(m => m.accountnumber, new { pattern = "[0-9]*", title="please provide account number",maxlength=maxaccountlength,autocomplete = "off" })             </div>              <div class="form-field inputfieldlogin bottom">                 <label for="pincode">                 password                 @html.passwordfor(m => m.pincode, new { pattern = "[0-9]*", title = "please provide password",maxlength=@maxpasswordlength,autocomplete = "off" })             </div>              <div class="form-field">                 <input type="submit" class="btnshadow" value="sign in" />             </div>                <div class="validation">                 @html.validationmessagefor(m => m.accountnumber)                 @html.validationmessagefor(m => m.pincode)                 @html.validationmessage(viewmodelerrorcodes.userlogon.user_identification_error)             </div>         } 

any hint??


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -