I have a problem using cookies and phonegap on the iphone in combination with an ASP 6.0 server.
The login mechanism is as follows:
On start of the app, we check against an URL to check if the user cookie is still valid. We redirect to a login view, perform the login on the server, the server also sends back a cookie.
Then we redirect to the main page of the app. There it is being checked if the user is logged in, but the answer from the server is: "Not logged in".
It seems that though we have a cookie, it's not valid so the server won't recognize us again.
I've seen a similar question with a ASP.NET server, using a .browser file on the server side, because the UIWebView wasn't recognized as Safari but as Mozilla which caused the problem. But this is a ASP 6.0 server and I don't know how to handle that.