BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 05-13-2011, 08:41 AM   #1
abhsax1978@hotmail.com
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
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, 12:54 AM   #2
abhsax1978@hotmail.com
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
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 12:57 AM..
Offline  
Old 05-16-2011, 12:55 AM   #3
abhsax1978@hotmail.com
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
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, 04:43 AM   #4
abhsax1978@hotmail.com
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
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, 05:15 AM   #5
abhsax1978@hotmail.com
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
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, 01:44 AM   #6
abhsax1978@hotmail.com
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
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 01:51 AM..
Offline  
Old 05-20-2011, 01:13 AM   #7
abhsax1978@hotmail.com
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
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 01:56 AM..
Offline  
Old 05-24-2011, 01:08 AM   #8
abhsax1978@hotmail.com
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
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, 01:13 AM   #9
abhsax1978@hotmail.com
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
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, 02:53 AM   #10
abhsax1978@hotmail.com
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
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, 07:17 AM   #11
abhsax1978@hotmail.com
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
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, 05:11 AM   #12
abhsax1978@hotmail.com
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
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



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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 06: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


USA Windows VPS RDP Server/ Windows VPS Hosting - 4GB RAM + 150GB HDD picture

USA Windows VPS RDP Server/ Windows VPS Hosting - 4GB RAM + 150GB HDD

$11.99



5 pieces Plenum Fiber Optic Cable jumper p/n 696912SJ88180F-EQ  180' server  New picture

5 pieces Plenum Fiber Optic Cable jumper p/n 696912SJ88180F-EQ 180' server New

$359.35



EMC2 HPE-S HPES Server picture

EMC2 HPE-S HPES Server

$465.00



Large Capacity 9QT Electric Chafing Dish Buffet Warmers, Chaffing Server Set New picture

Large Capacity 9QT Electric Chafing Dish Buffet Warmers, Chaffing Server Set New

$67.00



Wti Console Server + PDU CPM-800-1-EA picture

Wti Console Server + PDU CPM-800-1-EA

$550.00



Canon imagePRESS Server B5100 picture

Canon imagePRESS Server B5100

$1199.00







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