SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Wizard
    Join Date
    Jun 2005
    Posts
    1,440
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Users keep having to login ?

    How do you do it, so that users on a PHPBB3 forum are just always kept logged in.

  2. #2
    SitePoint Member
    Join Date
    Feb 2012
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Maybe your cookie settings?
    Here's from the faq..

    If you (or your users) are, after attempting a login, being returned to the index (or other page) without appearing to be logged in the most likely problem is incorrect cookie settings. phpBB uses cookies to store a session id and a small amount of user data. For this data to be stored correctly the cookie domain, name, path and secure settings must be correct. You can check this in Admin-
    >General->Server Configuration-
    >Cookie Settings. Typically the cookie domain can be left blank and the cookie path set to / (a single forward slash). Do not set the cookie as being secure unless your board is running over a secure sockets layer connection, ie. https://
    If you still have problems try setting the cookie domain to your full domain name, e.g. www.mysystem.tld ,
    www.something.mydomain.tld . You must ensure the domain name contains at least two dots or browsers will be unlikely to recognise the cookie, e.g. .mydomain.com ,
    mydomain.com . Do not add http:// or anything else to the domain name!

    Sent from my LG-VM696 using Tapatalk 2

  3. #3
    SitePoint Wizard
    Join Date
    Jun 2005
    Posts
    1,440
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for that. Did go through that faq and applied it where relevant, but still, when users login, they get logged out within a few minutes.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •