views:

43

answers:

1

Hi,

I have a website with in ASP.NET working fine. However, it becomes really annoy after a while that username/password needs to be re-entered every time even in our dev environment. The thing I noticed about our site is that FF/IE would not even prompt us to remember the username/password after login.

In the code, there is no autocomplete="off" setting anywhere, so I'm just wondering if this is the default behaviour of ASP.NET's form authentication to always generate input box/form with autocomplete="off" attribute; and if there's any way to remove the tag.

Regards,

A: 

There's a workaround here but it should also be possible to specify this in the forms properties:

<asp:textbox id="UserName" runat="server" AutoCompleteType="None" />
Filburt