I am new to Phonegap, but currently starting up a project that involves a simple HTML based app. I do not expect many problems implementing it as it is a simple project. One thing bothers me however.
Before users can login to the application they need to do a two factor authentication by entering a password and an OTP token. When succesfully authenticated the user will have a JSESSIONID cookie during it's session.
My first question is: will the session be automatically maintained while the user is using the phonegap application?
My second question is: is it possible to maintain the session also during application stop and start within a certain timeframe? For example I would like it if the user logs in to the application, then starts up another application and then returns to my application within the timeframe without having to re-authenticate.
Many thanks in advance
Tim