ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Sessions not working on Blackberry mobile browser

August 01, 2008 4:21pm

Subscribe [4]
  • #1 / Aug 01, 2008 4:21pm

    Jonathon Hill

    45 posts

    Help!

    I have a CI mobile webapp using the Michael Wale’s Erkanaauth authentication library. Everything was working fine on our development server, but I just set up a production box and now I can’t log in.

    The user is being authenticated fine, but somehow the CI sessions library isn’t working right with the Blackberry browser. I’ve cleared the cache and cookies but that does not help.

    As I said, this was working with the Blackberry until I switched servers. The dev server was using http, the new server is using https. It works fine with desktop browsers as well.

    I’m stumped. Can anyone help?

    Update: I have sess_match_useragent and sess_match_ip set to false in config.php.

  • #2 / Aug 06, 2008 10:36am

    Jonathon Hill

    45 posts

    Eureka!

    OBsession is the answer. It stores session data in a database table instead of in a browser cookie. Apparantly, the Blackberry Browser can’t do cookies very well over https. It had been working fine on http.

  • #3 / Dec 10, 2009 8:46am

    keshavkuruva

    4 posts

    Hi Jonathon,

    I am facing similar issue over blackberry browser for our WebApp.

    We only have to run the CI web app over https.

    I tried running it on almost different blackberry devices but couldn’t get that running.

    Is there any alternative or workaround for it?

    Thanks for the reply in advance.

    Regards,
    KeshavKuruva.

  • #4 / Dec 10, 2009 11:55am

    Jonathon Hill

    45 posts

    There are several options:

    a) Use an alternate browser (such as Opera mobile)

    b) Don’t use https

    c) Use a session library that puts the session ID as a GET parameter in the URL instead of in a cookie

    https + cookies don’t work in the native BB browser.

  • #5 / May 04, 2010 9:07am

    harman

    20 posts

    There is another reasons for this sessions Problems , CI SESSIONS (Cookies) does not work over WAP(WIRELESS ACCESS PROTOCOL) , Same problem occur with youtube and facebook.

    Note: i am using wap protocol over my pc by proxy.

  • #6 / Sep 06, 2011 6:44pm

    Bransin

    157 posts

    From the EE community I’m having the same issue. http://ellislab.com/forums/viewthread/197020/

    There is another reasons for this sessions Problems , CI SESSIONS (Cookies) does not work over WAP(WIRELESS ACCESS PROTOCOL) , Same problem occur with youtube and facebook.

    Note: i am using wap protocol over my pc by proxy.

    Facebook and Youtube had no session issues using Blackberry 9300 V5.0.0.846 Bundle 1440, Platform 6.3.0.39 using 3G data services, not wi-fi.

    Not quite sure why it doesn’t want to work with EE/Codeigniter.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases