in my iPhone/iPad-app I've got to deal with a server which determines sessions (not only, but also) according to the IP-address. The problem now is that with some providers, the phone's IP address changes after a few seconds and therefore the server can't recognize the session any more.
Is there any way to handle this on the client and "help" the server to stay开发者_JAVA百科 unchanged without configuration changes? Or is it only possible serverside?
I'm not using a library (ASIHTTP-request, e.g.), but only NSURLConnection.
Nope, nothing you can do client side. You will have to configure the server to accept session ID only.
精彩评论