1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    7
    Vote Rating
    0
    morikalina is on a distinguished road

      0  

    Default Answered: Password is not remembered

    Answered: Password is not remembered


    Hi fellows,

    I have an application that requires logging in. But the problem is password is not saved or remembered by browsers. Normally browsers ask to if save password, but with ExtJs it is not asked.

    Is there a proper way to make browsers remember users password on ExtJs?

    Thanks

  2. While scottmartin's suggestion will work, it's not necessarily recommended for storing passwords since information stored in localStorage or cookies is insecure. Instead, it's better to trigger the "remember my password" functionality that's built-in for basically all browsers these days.

    There is some information about how to do this on StackOverflow:
    Original question
    Follow-up for ExtJS 4.1

  3. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    7,190
    Vote Rating
    195
    Answers
    436
    scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold

      0  

    Default


    You can use the browser's LocalStorage or a cookie, etc.
    http://docs.sencha.com/ext-js/4-1/#!...y.LocalStorage

    Scott.

  4. #3
    Ext JS Premium Member burnnat's Avatar
    Join Date
    Jun 2011
    Posts
    258
    Vote Rating
    8
    Answers
    21
    burnnat will become famous soon enough

      0  

    Default


    While scottmartin's suggestion will work, it's not necessarily recommended for storing passwords since information stored in localStorage or cookies is insecure. Instead, it's better to trigger the "remember my password" functionality that's built-in for basically all browsers these days.

    There is some information about how to do this on StackOverflow:
    Original question
    Follow-up for ExtJS 4.1

  5. #4
    Sencha User
    Join Date
    Jul 2012
    Posts
    7
    Vote Rating
    0
    morikalina is on a distinguished road

      0  

    Default


    Thanks I will try that

  6. #5
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    7,190
    Vote Rating
    195
    Answers
    436
    scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold scottmartin is a splendid one to behold

      0  

    Default


    stored in localStorage or cookies is insecure
    True .. but it assumed you would encrypt

    Scott.

Tags for this Thread