On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • So today I learned that Modx allows multiple sessions per user, which I guess is the best default, opening all possibilities for users. If it didn't then you'd have to fight the core to allow it.

    But what are the session defaults? And what controls can we have over cookies and persistence?

    This forum site for example seems to have a shorter session, I often have to log in again, and I wonder how to establish control over these elements.

    Can I set a maximum session length, for example? Not looking for a tutorial but just some info about where to start looking.

    Looking into it, I find that system setting session_cookie_lifetime can limit all sessions to a fixed length of time.

    Also I found that cookiejar is an active Extra and seems to have this covered, but doesn't limit the number of sessions, I believe

    https://docs.modx.com/extras/revo/cookiejar