Quantcast
Channel: Uncategorized - Wikimedia Developer Support
Viewing all articles
Browse latest Browse all 21

Session Cookies: How to set the session cookie expiration date?

$
0
0

@SirMaeXchen wrote:

Hey,

Does anyone know how Mediawiki deals with session cookies. Apparently I am logged out after every browser session. As it is more convenient to be logged in by default, I tried to change the cookie expiration date using the $wgExtendedLoginCookieExpiration hook on the LocalSettings.php. I set it to 30 days. According to this page (https://www.mediawiki.org/wiki/Manual:$wgExtendedLoginCookieExpiration) this should solve the issue. Unfortunately it doesn’t. I am still logged out everytime that I close the browser. Any thoughts on this here? Any users with similar behaviour?

Best,
Max

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 21

Trending Articles