I\'m currently working on a mobile site with authentication using PHP sessions with a database. I have a login page with a form that goes to server_login.php
use
header("Location: index.php"); //this work in my site
read more on header() at php documentation.
In your form element add data-ajax="false". I had the same problem using jquery mobile.
data-ajax="false"