Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to set how long the trac_auth cookie should live, so that I may stay logged in even after closing the web browser? From what I can see now, it is set to be deleted at browser exit. I use a standard installation of Trac.

share|improve this question
Please consider accepting alexandrul's answer to make it easier for others to look for still unresolved questions. This one seems resolved. – hasienda Jun 26 '12 at 20:11

In trac.ini -> [trac] section:

auth_cookie_lifetime    Lifetime of the authentication cookie, in seconds.
    This value determines how long the browser will cache authentication information,
    and therefore, after how much inactivity a user will have to log in again.
    The default value of 0 makes the cookie expire at the end of the browsing session.
    (since 0.12)
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.