AutoCompleteType is not producing the desired results
auto complete feature in the password field needs to be disabled which was done through following Asp.net attribute of < asp:TextBox >
< asp:TextBox ID="passcode" runat="server" size="20" TextMode="Password" AutoCompleteType="Disabled"
Wrap="False" > < /asp:TextBox >
When it was tested it is not working with IE9 and chrome.
The quick fix for this potential security threat is as below
In the PageLoad event of your aspx.cs file add attribute as follows
passcode.Attributes.Add("autocomplete", "off");
No comments:
Post a Comment