05-03-2011 01:10 AM
I am a newbie to Blackberry development and also to the forum.
Please direct me tot he proper forum in case my question is not suitable for this one.
I have an application requirement where
1) I get a cookie from the server. The cookie acts as a token through out the the app.
2) once I get the cookie, I need to redirect the same request to a URL with userid,password and the cookie token as params.
I have a class that extends ProtocolController and implements BrowserFieldNavigationRequestHandler, BrowserFieldResourceRequestHandler.
in the handleResource method i am calling super.handleResourceRequest(request) and then I get the cookie from the returned httpconnection.
After this I am stuck.
I do not understand how I can redirect the request to another url.
I tried _browserField.requestContent and it is going in an endless loop.
05-03-2011 02:59 AM
05-03-2011 03:03 AM
And its just the navigation part that is in Java for which I need Help.
But thanks for pointing me to the link.