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

New Developer
Posts: 23
Registered: ‎11-05-2009
My Device: Not Specified

Widget Cookies

Is there anything special I have to do to get cookies to store in the Widgets?


I'm using a remote php script that has a login script, and if it's logged in (known from cookies) then it displays the post login page. However after the login process is done, it comes back to the page not logged in. IT works correctly in the regular Browser.


Anything I need to do here?

Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Widget Cookies

Is the website using SSL/TLS to secure the login transaction and cookie setting?

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
New Developer
Posts: 23
Registered: ‎11-05-2009
My Device: Not Specified

Re: Widget Cookies

No it uses regular php/mysql server side. It's a vbulletin forum.


It works fine on the BB browser, but on the Widget it just returns me to the login prompt after its done validating.

The process flow is as follows:


login_page.php ---> login_validation.php ---> login_page.php


When it returns to the login page, it should have some php variables set that tell it your already logged in. Instead it displays the login prompt again.


I'm going to try passing the login credentials back to the Bb and store them locally in a sql database... could work for it.