|
|
05-13-2011, 08:41 AM
|
#1
|
Thumbs Must Hurt
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
|
BrowserContent, login screen, redirection
Please Login to Remove!
When I log in, instead of showing the homepage, it redirects back to log in page, on valid user name and password. It only happens with BrowserContent, and not in BrowserField or any where else. What could be the problem?
__________________
having new s for developers!!!
|
Offline
|
|
05-16-2011, 12:54 AM
|
#2
|
Thumbs Must Hurt
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
|
Re: BrowserContent, login screen, redirection
[This is to be noted that I am using the sample provided in the 4.5 JDE]
More information: I have tried the page for authentication, like what happens when I input wrong user name and password, the validation is done perfectly...
I track the result of the input-stream for each of the URL, and to know why the redirection is happening.. I found that an HTML is inserted above the page's normal HTML, that shows hyperlink that an object is moved to the log in page, and the main page is not viewed at all.
__________________
having new s for developers!!!
Last edited by abhsax1978@hotmail.com; 05-16-2011 at 12:57 AM..
|
Offline
|
|
05-16-2011, 12:55 AM
|
#3
|
Thumbs Must Hurt
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
|
Re: BrowserContent, login screen, redirection
More information: I have also tracked whether the set-cookie is maintained or not.. The session is maintained...
__________________
having new s for developers!!!
|
Offline
|
|
05-16-2011, 04:43 AM
|
#4
|
Thumbs Must Hurt
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
|
Re: BrowserContent, login screen, redirection
Hi everyone,
Thanks in advance.. Seems to me that you do not believe in this problem. Please see the attached log (image) with this thread.
If the problem is in the server, it could have occurred anywhere else.
Since we can handle the connections in BrowserContent, please tell me what is more that can be done.
Regards.
__________________
having new s for developers!!!
|
Offline
|
|
05-16-2011, 05:15 AM
|
#5
|
Thumbs Must Hurt
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
|
Re: BrowserContent, login screen, redirection
This is sad that nobody has done some good work in this hot emerging field of Blackberry... I want this thread to be remained open till I get some answer, so that I can post it here if somebody needs one. Other wise I feel free to say that this is an internal bug on the part of those who have developed this API. The should pay for the loss, others are facing due to them, or they should post the solution...
__________________
having new s for developers!!!
|
Offline
|
|
05-17-2011, 01:44 AM
|
#6
|
Thumbs Must Hurt
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
|
Re: BrowserContent, login screen, redirection
There is one more bug.. The browserContent keeps on redirecting to the page requested, and on fail of load, it gives RenderingException stating that maximum attempts of redirection fail. In case there is a referrer, it redirects the page to it. In the attachment, I have removed the link name for security.
__________________
having new s for developers!!!
Last edited by abhsax1978@hotmail.com; 05-17-2011 at 01:51 AM..
|
Offline
|
|
05-20-2011, 01:13 AM
|
#7
|
Thumbs Must Hurt
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
|
Re: BrowserContent, login screen, redirection
Quote:
Originally Posted by abhsax1978@hotmail.com
When I log in, instead of showing the homepage, it redirects back to log in page, on valid user name and password. It only happens with BrowserContent, and not in BrowserField or any where else. What could be the problem?
|
My Settings were: I am not using MDS Server, in fact I do not want to use BES at all. Therefore the page was not opening. Now I find that JavaScript has to be kept disabled otherwise the images are not loaded.
I was merely using deviceside =true or interface=wifi whenever applicable.
Is there a reason I should use MDS? This will not be feasible for the projects at all.
More: even after running under MDS, the page comes back to login page after clicking a link on the page after log-in page. Now seriously, I feel that MDS has nothing to do with it... There must be a flaw in the sample code..
__________________
having new s for developers!!!
Last edited by abhsax1978@hotmail.com; 05-20-2011 at 01:56 AM..
|
Offline
|
|
05-24-2011, 01:08 AM
|
#8
|
Thumbs Must Hurt
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
|
Re: BrowserContent, login screen, redirection
Quote:
Originally Posted by abhsax1978@hotmail.com
My Settings were: I am not using MDS Server, in fact I do not want to use BES at all. Therefore the page was not opening. Now I find that JavaScript has to be kept disabled otherwise the images are not loaded.
I was merely using deviceside =true or interface=wifi whenever applicable.
Is there a reason I should use MDS? This will not be feasible for the projects at all.
More: even after running under MDS, the page comes back to login page after clicking a link on the page after log-in page. Now seriously, I feel that MDS has nothing to do with it... There must be a flaw in the sample code..
|
I tried the page with the blackberry browser; except that there were switches between select mode and view mode, the pages ran normally. RTSP embedded media is not supported. Though after my posts, I have searched,all the BrowserContent related posts, I never got a thing there.
__________________
having new s for developers!!!
|
Offline
|
|
05-24-2011, 01:13 AM
|
#9
|
Thumbs Must Hurt
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
|
Re: BrowserContent, login screen, redirection
Hello everybody,
I need at least one post here in reply.. has anybody even tried logging Twitter using the BrowserContent? Please do so, as the problem is somewhat related.
Either the page is not rendered or there is server intervention and finding that the client is not authorized to access the page, it is redirected; even though the cookies and history as well as JS and CSS are enabled.
__________________
having new s for developers!!!
|
Offline
|
|
05-24-2011, 02:53 AM
|
#10
|
Thumbs Must Hurt
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
|
Re: BrowserContent, login screen, redirection
I think I have found a solution.. I have to enable cookies for my BrowserContent. I need to find the way out how to do that..
__________________
having new s for developers!!!
|
Offline
|
|
05-24-2011, 07:17 AM
|
#11
|
Thumbs Must Hurt
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
|
Re: BrowserContent, login screen, redirection
Quote:
Originally Posted by abhsax1978@hotmail.com
I think I have found a solution.. I have to enable cookies for my BrowserContent. I need to find the way out how to do that..
|
I am sorry there is no way out. No efforts were done by its developers, and so we suffer.
__________________
having new s for developers!!!
|
Offline
|
|
09-02-2011, 05:11 AM
|
#12
|
Thumbs Must Hurt
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
|
Re: BrowserContent, login screen, redirection
Oh! to get the bottom of the problem.. They on the server side had to write the server code. Now they are using cookie-less session. They are doing every thing using hidden text field and sending the cookie information via URL.
Problem solved: The devices that were not supporting cookies are now able to access the site.
Regards
__________________
having new s for developers!!!
|
Offline
|
|
|
|