I want to get a personal page after a login in a PhoneGap project. The login part is processed via JQuery $.post
. Next, the app should load the personal JSON schedule (server reads cookie JSESSIONID).
var login = "example_user";
var password= "example_password";
$.post('https://example.com/login.php', {wu_loginname:login,wu_password:password}, function(data) {
//load the schedule.php page with the cookie received on the login.php page.
}
Is it possible to get and write the JSESSIONID cookie with PhoneGap (or JQuery)?