title: Implement "Remember Me" option in a PhoneGap application
body: <p>I am new to PhoneGap development. My PhoneGap application has a login page and I need to implement a "Remember Me" option into this login page. If the user has checked the "Remember Me" checkbox after entering username &amp; password, the application should remember the user entered username &amp; password and auto fill the information the next time the user launch the application (i.e. username &amp; password should be persisted even when the application is closed, phone is restarted etc).</p>
  
  <p>What is the best approach to implement this in a PhoneGap application..? </p>
  
  <p>I know I can write the username and password to a file and read it back when app is launched. But I have a feeling that this is not the best way to do this due to various reasons including security.</p>
  
  <p>Thanks in advance. </p>