Skip to:
Content
Pages
Categories
Search
Top
Bottom

Automatic logout if browser window is closed. How to avoid?

  • @dvdvideosoft

    Member

    After upgrading to the latest engine (0.9.0.2) it logs out automatically I close the browser.

    So I have to type my name and password each time I visit my forum.

    How can I make it to remember me?

    With a previous version it remembered me, and did not ask to log in each time I closed and opened the browser window.

Viewing 9 replies - 1 through 9 (of 9 total)
  • @chrishajer

    Participant

    That doesn’t happen in my 0.9.0.2 installation. Maybe it’s a cookie problem, since that is how bbPress knows you’re already logged in (via a cookie.)

    Need more information on your installation. Can you post a link to your forum so others can try it?

    @finalwebsites

    Participant

    Maybe you can do it if you store the session cookie with a longer life time.

    be careful it’s less safe…

    @chrishajer

    Participant

    finalwebsites: The login cookie should survive closing the browser window, shouldn’t it? I think mine works like that.

    @sambauers

    Participant

    You have to explicitly choose “Remember me” when you login. If that option isn’t there when you login then you need to update your template to match the default one in this regard.

    I’m pretty sure this was a part of the last release.

    @dvdvideosoft

    Member

    here is the link to my forum http://www.dvdvideosoft.com/forums/index.php

    >> The login cookie should survive closing the browser window, shouldn’t it? I think mine works like that.

    Yes, but you can see it does not survive on my forum.

    @dvdvideosoft

    Member

    to sambauers:

    >> You have to explicitly choose “Remember me” when you login. If

    >> that option isn’t there when you login then you need to update

    >> your template to match the default one in this regard.

    It makes sense! Please give me some advice.

    Do I need to correct my skin template or can I set a parameter in the config file?

    @chrishajer

    Participant

    > Yes, but you can see it does not survive on my forum.

    Right you are :-)

    Name	bbpress_[snipped]
    Value chrishajer%7C[snipped]
    Host www.dvdvideosoft.com
    Path /forums/
    Secure No
    Expires At End Of Session

     

    I just noticed there is no box at this forum either.

    @johnconners

    Participant

    If you want people to stay logged in after the end of the session, just add the following within the form element in the login-form.php template file:

    <input name="remember" type="hidden" value="1" />

    Just make sure it’s before the closing </form> tag.

    @dvdvideosoft

    Member

    Dear John Conners, thank you!

    Simple and works!

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.
Skip to toolbar