5

I have a small MediaWiki wiki in a hosted website. It works pretty well, except that I can't find where to configure the session timeout.

Right now, my session expires while I'm editing pages. I've seen all kinds of recomendations, including touching the PHP settings, but I can't find any authoritative answer.

Any suggestions?

ggambetta
  • 367
  • 1
  • 5
  • 11

2 Answers2

5

If you are referring to PHP session timeout, it is set in php.ini and depends further on your PHP version.

This could be through session.gc_maxlifetime or session.cache-expire or even session.cookie_lifetime.

See also this thread for more info and this article.

harrymc
  • 455,459
  • 31
  • 526
  • 924
0

The session timeout configuration is php stuff, not mediawiki's.

Look for session.cookie-lifetime in your php.ini file.

Toto
  • 417
  • 2
  • 4
  • 9