So i have an app built for a website our senior project group designed and its pretty simple. Just used webview and enabled some basic functionality like haptic feedback and what not, but i have quite the interesting problem. When any device switches from landscape to portrait it basically refreshes the whole thing. It logs the user out of the site and takes it back to the home page. Any idea how to fix this?