1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Inactivity Timeout

Discussion in 'XenForo Questions and Support' started by onthefly, Oct 16, 2010.

  1. onthefly

    onthefly Active Member

    Quick question about Inactivity Timeout, is there a way to change this, I got this from one of my members this mornig,

  2. Lawrence

    Lawrence Well-Known Member

    onthefly likes this.
  3. onthefly

    onthefly Active Member

  4. Lawrence

    Lawrence Well-Known Member

    900 seconds (15 mins). You can change the 900 in the function I edited into my post above, but I do not recommend it unless you are comfortable with PHP.
  5. onthefly

    onthefly Active Member

    Im sure I could figure it out?
  6. onthefly

    onthefly Active Member

    OK, I changed

    // TODO: source this from an option?
    return XenForo_Application::$time - 3600;

    That should give 60 minutes right? ;) Also, by changing this, will it effect any performance of the site?
  7. DSF

    DSF Well-Known Member

    A little bit. Any active user is a sessions-record more to handle.
    onthefly likes this.

Share This Page