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
    9,112
    Answers
    678
    Vote Rating
    470
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      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
    418
    Answers
    42
    Vote Rating
    61
    burnnat is a jewel in the rough burnnat is a jewel in the rough burnnat is a jewel in the rough burnnat is a jewel in the rough

      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
    9,112
    Answers
    678
    Vote Rating
    470
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


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

    Scott.

Thread Participants: 2

Tags for this Thread