4 Nov 2011 2:14 AM #1
Remember Password For Sencha Touch Application
Can anybody please help ...I am having my application in sencha touch .I wanted to have remember password feature at my app. How can i achieve that ?
Thanks in advance .
4 Nov 2011 2:58 AM #2
You have to handle this by yourself.
I suppose you are developing a login panel in your app isn't?
So you can store your credential into a Cookie or inside the Local Storage.
Do you want that your app only remember a password when the user write his username, or you want to implement a sort of "Remember me" to allow user to login without write again his credentials?
Hope this helps.
4 Nov 2011 3:22 AM #3
Thanks for your help ...
Yes i have built a login page using Sencha Touch
i want to implement a sort of "Remember me" to allow user to login without write again his credentials...
also i am asking does that going to work for Iphone and Ipad .
As what you told i will implement for the browser but does that going to help for Ipad and Iphone ...
4 Nov 2011 6:35 AM #4
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
In Ext JS you can do this by having the input tags already in the body and then use contentEl on the Ext.form.Text to use the existing tags. Then the browser sees the input fields and does it's password saving magic. Not sure if this will work on ST as I have never tried it.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
21 May 2012 7:28 PM #5