Solved

remembering username & password html5 iphone web app

Posted on 2011-02-27
1
941 Views
Last Modified: 2012-05-11
Hello Experts

I am writing a iphone specific web app using the iwebkit 5.04 framework, with the first screen being a login screen. What I want is when the 'Remember me' checkbox is on, for the login details to be remembered the next time app is opened from the homescreen. Currently the user has to enter the details everytime the app is opened. I have been reading lots of tutorials and it would seem localstorage is the best way to do it, but cannot find anything close to what I want. I am only just learning this html5 / iphone specific stuff so if anyone can help it would be much appreciated.

<form action="" id="frmlogin" method="post" name="frmlogin" enctype="application/x-www-form-urlencoded">
	<ul class="pageitem">
		<li class="bigfield"><input placeholder="Account No" id="txtaccname" name="txtaccname" type="text" autocapitalize="off" value=""/></li>             
		<li class="bigfield"><input placeholder="Username" id="txtusername" name="txtusername" type="text" autocapitalize="off" value="" /></li>
		<li class="bigfield"><input placeholder="Password" id="txtpassword" name="txtpassword" type="password" /></li>
		<li class="checkbox"><span class="name">Remember Me</span><input id="remember" name="remember" type="checkbox" value=""/></li>
	</ul>
	<ul class="pageitem">
    	<li class="button"><input name="submit" id="submitbtn" type="submit" value="Login" value="" /></li>
    </ul> 
</form>

Open in new window

0
Comment
Question by:dovercomputers
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
dovercomputers earned 0 total points
ID: 34993726
Used cookies in the end when processing the login. Works fine so I'll stick with that for now.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article discusses four methods for overlaying images in a container on a web page
This article discusses how to create an extensible mechanism for linked drop downs.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question