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

Web and WebWorks Development

Reply
New Developer
Posts: 24
Registered: ‎01-20-2010
My Device: Storm2
My Carrier: Vodafone Greece

Session time out on multiple calls to web services.

I am developing a widget that access a web site (actually the web services that the web site offers).

The web site has user account to customize the services that it offers. To get access to the site you have first to log in(first call which completes successful) and then you have to make another call to get the current status of your account (second call which returns "Session has timed out").

The script i wrote works perfectly in browsers like IE & Firefox, but it does not seem to work inside a Blackberry widget.

Is there something i can do to keep the session alive between the two call to the same service? The only thing between the two calls is an alert box welcoming the user with his/her actual name.

 

FYI: The second call to return information requires that the first has been completed successfully.