Help with login authentication and offline webapp

2014-03-21 Thread Bart Cockheyt
Hy, I'm making an 1 file webapp (different screens in 1 html file) with user authentication. I tried different type of scripts but all seem to lack to work flawless with the iUI screen setup. If i use a script with separate login files it screws up the backlink in the topbar (displaying the

Re: Help with login authentication and offline webapp

2014-03-21 Thread John Biddulph
You've probably seen my new app 2014-football?! https://itunes.apple.com/gb/app/2014-football/id830027023?mt=8 I use PhoneGap and get my data from an external site using JSON Hope this helps J Sent from my iPad On 21 Mar 2014, at 17:33, Bart Cockheyt bart.cockh...@gmail.com wrote: Hy,

Re: Help with login authentication and offline webapp

2014-03-21 Thread Bart Cockheyt
Hy, It's not a native app but a 100% web-app. Its going to be used by a select group of users but one goal is that thay can still use the app if there is no internet available. Op vrijdag 21 maart 2014 18:39:07 UTC+1 schreef john.mb...@googlemail.com: You've probably seen my new app

Re: Help with login authentication and offline webapp

2014-03-21 Thread Mogens Beltoft
Hi, Do you need all that user management? How about a single fixed excrypted password in javascript? /Mogens On 21-03-2014 18:33, Bart Cockheyt wrote: Hy, I'm making an 1 file webapp (different screens in 1 html file) with user authentication. I tried different type of scripts but all seem

Re: Help with login authentication and offline webapp

2014-03-21 Thread Remi Grumeau
Hi Bart, Is content dynamic or static? If static and not sensible, you do the login/pass test only online on first access and use manifest to cache all files locally. If dynamic, then well ... it's a complicated job :) Remi Le 21 mars 2014 à 19:12, Bart Cockheyt bart.cockh...@gmail.com a

Re: Help with login authentication and offline webapp

2014-03-21 Thread Bart Cockheyt
Hi, I don'r realy need all, it would be usefull but not needed. What i do need is letting the user change its password. That's the only right the user is granted. Every thing eles, from creating acount to managing is is done by admin, directly in database or using something like a admin gui.

Re: Help with login authentication and offline webapp

2014-03-21 Thread Bart Cockheyt
Content is static. Its also sensible, so i need a userbased login. Only first time login is no option. only login online but not offline(using some sort of offline check) is an option. Op vrijdag 21 maart 2014 19:20:50 UTC+1 schreef Remi Grumeau: Hi Bart, Is content dynamic or static?

Re: Help with login authentication and offline webapp

2014-03-21 Thread Bart Cockheyt
The content itself is static. There are a few dynamic bits but the user is warned that those do not work when offline. Its content is sensible, i'm ok if it only checks login when online, but i'm not doing it just once... Op vrijdag 21 maart 2014 19:20:50 UTC+1 schreef Remi Grumeau: Hi

Re: Help with login authentication and offline webapp

2014-03-21 Thread Bart Cockheyt
Hi, Not completely. I do need to give the user the ability to change its password. Everything else can be done directly in database bij admin or using an admin gui. Op vrijdag 21 maart 2014 19:20:48 UTC+1 schreef Mogens Beltoft: Hi, Do you need all that user management? How about a

Re: Help with login authentication and offline webapp

2014-03-21 Thread Remi Grumeau
There is only one way to get a webapp offline today: cache manifest. Cache manifest is pretty simple on the paper: once online, you access to an url. This url as a manifest attribute in the html tag, so the browser knows where to find it and read it. This file is a list of urls you want the