I would like to know what exactly the differences are between a WLAN connection to the internet, or a 3G connection to the internet.
I am coding an App which uses session handling, which works fine when I’m connected via WLAN, but not at all when I’m connected via 3G. How can that be? Is there something I need to be aware of that I am not?
I figured out what the problem was. When calling the webservice, I am receiving “HeaderProperties”, and one of them contains the cookie I need. When connected via WLAN, I get the cookie with HeaderProperties.get(2).getValue(). However when connected via 3G, .get(2) only contains a timestamp, to get the cookie, I need to get the fourth entry (i.e. HeaderProperties.get(3).getValue()).