"Remember Me" doesn't remember me (0.9.0 release)

When I check the "remember me" button at logon, I still find that I'm logged out after a period of inactivity. The same happens if I log in using Twitter or Facebook. I am running the 0.9.0 release version of StatusNet. Any thoughts?

Comments

  • It can't be a browser issue: I stay logged into identi.ca.
  • Maybe you are login in as "administrator" role?
  • That shouldn't matter. Do you see the rememberme record stored in the DB?
  • @evan there are actually 25 remember_me records for my user_id! Should I delete them?
  • try this debug line:
    $config['sessions']['debug'] = true;
    can't hurt to try this:
    $config['sessions']['handle'] = true;

    whats in your php.ini as far as sessions?
    you have memcached enabled?
  • @aric I will give those options a go. I do not have memcached enabled (yet) and will check on the php.ini settings with my host (I'm in a virtual host setup).
  • I have same issue. Can not remeber me. Any solution?
  • Since setting $config['sessions']['handle'] = true; I have had no problems.
  • Thanks.
    After I closed all IE explore, then reopen IE, Still need to login. just remeber session.
  • @nus_intel are you saying it never remembers you? can you share some details of your hosting environment? have a look at your php.ini and see what it has to say about sessions.

  • @aric yes nerver remeber. I can find remember data in database.

    what I need to set in php.ini part? give me some tips.

    In Safari, no problem. In IE and firefox can not remember.

    I checked cookies, IE and Firefox only "statusNetInstance" cookie, but Safari aslo has "rememberme" cookie.

    Thanks

  • @nus_intel can you give me some details of your hosting environment?

    operating system, which software, and perhaps add this to your config.php $config['sessions']['debug'] = true;
    and then have a look at the logs, while you get remembered by safari, and while the remembering fails in firefox.
  • @aric I have added $config['sessions']['debug'] = true; part in config.php.
    The log show following message after I login select remember me:
    adding rememberme cookie "3:861aa0afe2f8a53cd6ff8461580b9ca0" for xxxx
    But I can not find this cookie in firefox cookie list.

    when I use safari, the log show:
    logging in xxx using rememberme code c8f2c687553da3e66045bc862b596612

    My server is windows server 2003 with Apache 2.0, php 5.2.9
    maybe some wrong configure in php.ini. any tips?

    Thanks
  • nus_intel did you try adding $config['sessions']['handle'] = true; ?

  • "Remember Me" doesn't remember the administrator?
  • It doesn't remember the general users too.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID