Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Highlighted
Developer
Posts: 174
Registered: ‎01-25-2011
My Device: Not Specified

Session issue!!!

Hi, 

I m making an app for the  client which uses a ssl certified server(https). To track the session of a particular user i read the set-cookie key value from header and stored the session value, so that could be used for further calls.

Now a face a wierd issue when I change the connection type from WI-FI to 3G(or 4G) admist of the application I get an unauthorized reply form server. I see that the server sending the error code 401 despite my session is active.

Is that something to do with the server or is native frame work behaviour of BB????

 

One more thing to note is when i change my WIFI  connectivity from wifi-a to wifi-b then the application is working as expected. Only problem is when i change from WIFI  to 3G or vice-versa. Did anyone face this issue before???

 

To add further to my problems it is working properly in IOS and Android with the above test case??? Could some1 help me in this issue???