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?