[CLOSED] Remember User name and Password

  1. #1

    [CLOSED] Remember User name and Password

    Hi Team,

    Is there any way to remember Login Credentials such as Username and password automatically by the browser. My login credentials not been prompted for saving by browser (IE 8 we are suing now) if I use coolite text field controls in a window.

    Do you have any workaround for this?

    Thanks in advance.
    Regards,
    Last edited by Daniil; Jan 12, 2011 at 2:27 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Ext.Net text field disables browser autocomplete feature therefore (I guess) it prevents caching. Try to enable autocomplete

    <ext:TextField  runat="server"> 
            <CustomConfig>
               <ext:ConfigItemName="autoCreate"Value="{tag: 'input', type: 'text', size: '20', autocomplete: 'on'}"></ext:ConfigItem>
            </CustomConfig> 
    </ext:TextField>
  3. #3
    Quote Originally Posted by Vladimir View Post
    Hi,

    Ext.Net text field disables browser autocomplete feature therefore (I guess) it prevents caching. Try to enable autocomplete

    <ext:TextField  runat="server"> 
            <CustomConfig>
               <ext:ConfigItemName="autoCreate"Value="{tag: 'input', type: 'text', size: '20', autocomplete: 'on'}"></ext:ConfigItem>
            </CustomConfig> 
    </ext:TextField>
    Hi,

    This work around didn't work for me. Browser is not prompting to save the password for the site.

    Regards,
  4. #4
    Hi,

    Confirmed. The Vladimir's solution works under FireFox, but not IE8.

    I have tried with Ext.Net controls and raw html elements. Both things do not cause save prompt under IE8, but do cause under FF.

    Also I should say that I can get save prompt then enter password in some sites with login/password pair.

    Example
    <%@ Page Language="C#" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>Ext.Net Example</title>
    </head>
    <body>
        <form runat="server">
        <ext:ResourceManager runat="server" />
        Ext.Net TextField and Button<br /><br />
        <ext:TextField runat="server" InputType="Password">
            <CustomConfig>
                <ext:ConfigItem 
                    Name="autoCreate" 
                    Value="{tag: 'input', type: 'text', size: '20', autocomplete: 'on'}" />
            </CustomConfig>
        </ext:TextField>
        <ext:Button runat="server" Text="Submit" AutoPostBack="true" />
        <br /><br />Raw html<br /><br />
        <input type="password" autocomplete="on" />
        <input type="submit" value="Submit" />
        </form>
    </body>
    </html>
  5. #5
    It looks like the same problem is discussed here:
    http://stackoverflow.com/questions/1...f-asp-net-form

    Maybe it's appropriate solution for you to save password manually.
  6. #6
    Hi,

    What you said is right. It is not working in IE also if the login controls ( text fields of coolite (0.8.3)) placed in a window will not prompt user for saving user name and password even in FF.

    I have used pure ASP Controls and used the style sheet of ExtJS to get the ExtJS UI look and used document.form[0].submit() after validating the controls manually.

    Please mark this as solved. Hope version greater than 8.0 of IE have this feature enabled. I didn't test this scenario in later of 8.0 IE.

    Thank you!

    Regards,
    Last edited by vedagopal2004; Jan 12, 2011 at 1:57 PM. Reason: small correction

Similar Threads

  1. Implement a Password Meter to a Password Field
    By sudantha in forum 1.x Help
    Replies: 1
    Last Post: Jan 15, 2012, 6:59 AM
  2. MultiCombo that Remember Selection through page
    By MichaelSogos in forum Examples and Extras
    Replies: 1
    Last Post: Sep 21, 2011, 3:50 PM
  3. [CLOSED] Can't get TabStrip to remember history like TabPanel
    By AABR in forum 1.x Legacy Premium Help
    Replies: 9
    Last Post: Aug 18, 2011, 3:11 PM
  4. [CLOSED] What is password of admin user of MVC.Ext.Net Example
    By nirajrdave in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Jun 20, 2011, 1:52 PM
  5. Replies: 7
    Last Post: Jun 09, 2008, 7:45 PM

Posting Permissions