This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Remember Password Check box  RSS feed

 
Kannan BLR
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

One check box is Remember password under user name and password field in the login page. while login we checked the checkbox hereafter we don't need to enter the password.

As per above requirements, Can any one please help me How can i solve it?

Grateful, if some one give the coding and steps.


Thanks & Regards,
Kannan.A
 
Ankit Garg
Sheriff
Posts: 9610
37
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the most appropriate solution to this is Cookies. If a user checks the remember checkbox then you must store a cookie with the name and password of the user. When a request from the same user comes the browser will also send cookies along with the request. So on the home page or login page you must check whether a username and password is attached with the request in form of cookies. If the username and password cookie exists, then you must log him/her directly in.

For security you must keep encrypted cookie on the client
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66188
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Kannan BLR", please check your private messages for an important administrative matter.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!