IE not offering to save password of ASP.NET form

后端 未结 1 2011
终归单人心
终归单人心 2021-01-12 14:47

Sometimes Microsoft does something so stunningly dumb that it makes my head hurt. Help me find out it\'s really not the case ... please!

I\'ve got an issue with the

相关标签:
1条回答
  • 2021-01-12 15:36

    @Chris That's what I went for in the end.

    So for the benefit of anyone else, I still have my activation controls in a runat=server form and process these in the code for that page. Then I have a second, standard HTML form with HTML input textfields that posts to a different .NET page. This deals with the users login. I pick up the values in this page via Request.Form and deal with the login from here.

    Upsides:

    It all works and users get their logins remembered as they would expect to.

    Downsides:

    I lost the ability to use a MasterPage (as I need two forms in the page) so I effectively have had to duplicate the template - I don't like this much.

    If the users login is invalid or causes some kind of error, I have to redirect to the initial page and pass it a flag to get it to show a relevant error message - I don't like this much either.

    Like I say, though, it just works and in this case that's what was most important. Thanks for your input.

    0 讨论(0)
提交回复
热议问题