Results 1 to 9 of 9

Thread: remember me functionality in login page with extjs

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    4
    Vote Rating
    0
      0  

    Default remember me functionality in login page with extjs

    Hi all,
    I am new to extjs. I want to add functionality for "remember passwod" in login page. In html/jsp page browser ask to save the password. But in extjs it doesn't work. How it can be achieved in extjs?
    or extjs provide this functionality itself ?
    Please help.
    Thanks in Advance.

    Manoj

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,409
    Answers
    716
    Vote Rating
    505
      0  

    Default

    You will need to use cookies to perform this. Save/retrieve from the client cookie.

    Regards,
    Scott.

  3. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    4
    Vote Rating
    0
      0  

    Default

    Tnx Scott for reply. Can you give me sample code for it ?

    Thanks and Regards,
    Manoj

  4. #4
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,409
    Answers
    716
    Vote Rating
    505
      0  

    Default

    Have a look at the following:
    http://www.sencha.com/forum/showthread.php?154499

    Regards,
    Scott.

  5. #5
    Sencha User
    Join Date
    Feb 2012
    Posts
    19
    Vote Rating
    0
      0  

    Default

    Zip content is not available. Could someone get it and post here?

    Thanks
    Kapil

  6. #6
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,409
    Answers
    716
    Vote Rating
    505
      0  

    Default

    There is a zip attachment at the bottom of the first post: of thread 154499
    >> logindialog1_1.zip? (12.0 KB, 203 views)

    Under thumbnails

    Scott.

  7. #7
    Sencha User
    Join Date
    Feb 2012
    Posts
    19
    Vote Rating
    0
      0  

    Default

    Thanks Scott. I got it.

    Thanks
    Kapil

  8. #8
    Sencha User
    Join Date
    Feb 2012
    Posts
    19
    Vote Rating
    0
      0  

    Default

    I didn't find code to set cookies in given code. Can you please help me to figure this out?

    Thanks
    Kapil

  9. #9
    Sencha Premium Member
    Join Date
    Apr 2011
    Posts
    101
    Answers
    8
    Vote Rating
    3
      0  

    Default

    http://docs.sencha.com/ext-js/4-0/#!...t.util.Cookies

    The API is helpful...

    Code:
    Ext.util.Cookies.set('MyCookie', 'CookieData');
    Ext.util.Cookies.get('MyCookie');

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •