Hi Everyone,
I have a rails app with a mobile view using jqtouch. If the application is viewed on an iPhone application.mobile.erb loads in place of the default application.HTML.erb.
Everything works fine, except the login. Users can login and then view the content. However, they have to login everytime they load the site. Is there a way of making the iPhone store the credentials as a cookie or similar?
I have noticed that if I view the desktop version on my iPhone and login, my login credentials are stored so I don't have to login everytime. Once I switch over to the iPhone specific jqtouch version I have to login every time.
The difference is that on the desktop version I enter the login details directly into the login form I made, but on the iPhone jqtouch version a popup from the iPhone UI requests the login information.
The application uses the Restful Authentication plugin: http://github.com/technoweenie/restful-authentication
Thanks,
Danny
You can view the application on github:
www.github.com/dannyweb/baseapp2