View Full Version : remember me functionality in login page with extjs
manoj12
4 Apr 2012, 6:10 AM
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
scottmartin
4 Apr 2012, 7:46 AM
You will need to use cookies to perform this. Save/retrieve from the client cookie.
Regards,
Scott.
manoj12
4 Apr 2012, 8:59 PM
Tnx Scott for reply. Can you give me sample code for it ?
Thanks and Regards,
Manoj
scottmartin
5 Apr 2012, 4:43 AM
Have a look at the following:
http://www.sencha.com/forum/showthread.php?154499
Regards,
Scott.
kappiil
25 Apr 2012, 5:56 AM
Zip content is not available. Could someone get it and post here?
Thanks
Kapil
scottmartin
25 Apr 2012, 6:24 AM
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.
kappiil
25 Apr 2012, 10:12 PM
Thanks Scott. I got it.
Thanks
Kapil
kappiil
26 Apr 2012, 3:20 AM
I didn't find code to set cookies in given code. Can you please help me to figure this out?
Thanks
Kapil
sskow200
26 Apr 2012, 5:25 AM
http://docs.sencha.com/ext-js/4-0/#!/api/Ext.util.Cookies
The API is helpful...
Ext.util.Cookies.set('MyCookie', 'CookieData');
Ext.util.Cookies.get('MyCookie');
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.