BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 05-13-2011, 09:41 AM   #1 (permalink)
Thumbs Must Hurt
 
abhsax1978@hotmail.com's Avatar
 
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
Post Thanks: 4
Thanked 0 Times in 0 Posts
Default 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  
Old 05-16-2011, 01:54 AM   #2 (permalink)
Thumbs Must Hurt
 
abhsax1978@hotmail.com's Avatar
 
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
Post Thanks: 4
Thanked 0 Times in 0 Posts
Default 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 01:57 AM.
Offline  
Old 05-16-2011, 01:55 AM   #3 (permalink)
Thumbs Must Hurt
 
abhsax1978@hotmail.com's Avatar
 
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
Post Thanks: 4
Thanked 0 Times in 0 Posts
Default 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  
Old 05-16-2011, 05:43 AM   #4 (permalink)
Thumbs Must Hurt
 
abhsax1978@hotmail.com's Avatar
 
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
Post Thanks: 4
Thanked 0 Times in 0 Posts
Thumbs down 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.
Attached Images
File Type: png BBLog.png (36.5 KB, 5 views)
__________________
having new s for developers!!!
Offline  
Old 05-16-2011, 06:15 AM   #5 (permalink)
Thumbs Must Hurt
 
abhsax1978@hotmail.com's Avatar
 
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
Post Thanks: 4
Thanked 0 Times in 0 Posts
Default 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  
Old 05-17-2011, 02:44 AM   #6 (permalink)
Thumbs Must Hurt
 
abhsax1978@hotmail.com's Avatar
 
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
Post Thanks: 4
Thanked 0 Times in 0 Posts
Default 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.
Attached Images
File Type: png BBLog2 - Copy.png (46.0 KB, 2 views)
__________________
having new s for developers!!!

Last edited by abhsax1978@hotmail.com : 05-17-2011 at 02:51 AM.
Offline  
Old 05-20-2011, 02:13 AM   #7 (permalink)
Thumbs Must Hurt
 
abhsax1978@hotmail.com's Avatar
 
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
Post Thanks: 4
Thanked 0 Times in 0 Posts
Default Re: BrowserContent, login screen, redirection

Quote:
Originally Posted by abhsax1978@hotmail.com View Post
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 02:56 AM.
Offline  
Old 05-24-2011, 02:08 AM   #8 (permalink)
Thumbs Must Hurt
 
abhsax1978@hotmail.com's Avatar
 
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
Post Thanks: 4
Thanked 0 Times in 0 Posts
Default Re: BrowserContent, login screen, redirection

Quote:
Originally Posted by abhsax1978@hotmail.com View Post
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  
Old 05-24-2011, 02:13 AM   #9 (permalink)
Thumbs Must Hurt
 
abhsax1978@hotmail.com's Avatar
 
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
Post Thanks: 4
Thanked 0 Times in 0 Posts
Thumbs down 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  
Old 05-24-2011, 03:53 AM   #10 (permalink)
Thumbs Must Hurt
 
abhsax1978@hotmail.com's Avatar
 
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
Post Thanks: 4
Thanked 0 Times in 0 Posts
Default 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  
Old 05-24-2011, 08:17 AM   #11 (permalink)
Thumbs Must Hurt
 
abhsax1978@hotmail.com's Avatar
 
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
Post Thanks: 4
Thanked 0 Times in 0 Posts
Default Re: BrowserContent, login screen, redirection

Quote:
Originally Posted by abhsax1978@hotmail.com View Post
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  
Old 09-02-2011, 06:11 AM   #12 (permalink)
Thumbs Must Hurt
 
abhsax1978@hotmail.com's Avatar
 
Join Date: Jun 2008
Location: NOIDA
Model: 8100
OS: 4.2.1.91
PIN: 2052AEF9
Carrier: Soft. Engg.
Posts: 111
Post Thanks: 4
Thanked 0 Times in 0 Posts
Default 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  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: BrowserContent, login screen, redirection
Thread Thread Starter Forum Replies Last Post
8820 Blank Screen Kamakazy General Legacy Device Discussion 0 04-26-2010 07:40 PM
New Users!!!!!! Read VENEMYV General BlackBerry Discussion 22 12-17-2009 07:42 PM
can't get past company webmail login screen meers General Legacy Device Discussion 12 12-19-2007 10:11 AM
8703e guide techman1 BlackBerry Guides 3 09-28-2006 10:24 AM
8703e guide and all other series of bb techman1 BlackBerry Guides 1 09-21-2006 10:12 PM





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.