My authentication uses CI sessions and works fine everywhere that I have checked. I just noticed that on the iPhone I can only login if I clear all cookies and data from the
Having looked around it appears that the cause is safari on the iphone caching Ajax requests.
Nothing to do with sessions at all.
Adding a timestamp to my ajax request solved my issue.
var timestamp = new Date().getTime();
Off I go through all my js files looking for $.ajax
:)