Click here to Skip to main content
14,239,876 members
Rate this:
Please Sign up or sign in to vote.
See more:
When I open my login.aspx page, I receive a message asking if I would like to "View Saved Logins." If I say yes, I get "Saved Logins", yes to this question asks, "Show Passwords.

I assume this is a browser issue, but I certainly would NOT like anyone other that an authorized user to be able to even see this info.

Can we via asp.net in an aspx page or aspx.cs page to tell the browser NOT to remember usernames and passwords?

asp:panel id="Panel1" runat="server" class="MoveRight">
asp:login id="Login1" runat="server"
RememberMeSet="False" height="160px" width="328px"

asp:loginstatus id="LoginStatus1" runat="server"


My login.asspx.cs page:

public partial class login : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Login1.Focus();

}

}//end class

What I have tried:

I use a very simple set of code. Perhaps a property needs to be set.

Have looks at a lot of code, nothing seems to be specific to my question?
Posted
Updated 12-Jul-19 13:21pm
v10

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month



CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100