I have set my codeigniter website to be a web app using Apples documentation. https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html
It works well, but none of my sessions are saving when they switch between apps.
$this->session->set_userdata('logged_in', true);
$this->session->set_userdata('id', $data['id']);
$this->session->set_userdata('role_id', $data['role_id']);
I found a good article about this but don't know how this would look using codeigniter. Maintaining a PHP session on an iPhone web app