Click here to Skip to main content
13,047,567 members (62,863 online)
Rate this:
Please Sign up or sign in to vote.
Dear expert,

I have made an iPhone web app. I have used html5, java script and jqueryMobile.
My app is consist of single Index.HTML document. Its working fine.

What I want to do is to implement authentication for the same. Since HTML5, java script and even j-Query mobile are client side language, I am failing to communicate with the server.

Traditional classic ASP apparoach, suggest me to go for GET/POST method. But its get failed in my scenario,because the moment I tried to open other page like asp or even another HTML document, it get open in the browser, not in my app.

As you know the web app uses the browser in background, but since its a web app I can't afford to open my next page in browser, it should retain its "native app look".

There is new thing in HTML5, web sql but I don't want to create such database on client side cause any how I have to make hit to server.

I've tried lot of things but couldn't find any way for authentication for html5 app in iPhone from server or client side.

Any body has any idea about it? How to solve this ? How could I add more than one HTML document in single html5 app?
Posted 10-Oct-12 0:11am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

I feel OAuth is the way to go in your case. But look out for other answers too. Refer to this link for a similar discussion -[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 10 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100