Jump to content

Manual:$wgCookiePath

From mediawiki.org
This page is a translated version of the page Manual:$wgCookiePath and the translation is 50% complete.
Cookies: $wgCookiePath
Explicitly declared "path" for cookies at the cookie domain
Introducido en la versión:antes de 1.1.0
Eliminado en la versión:aún se usa
Valores permitidos:(ruta relativa)
Valor predeterminado:'/'

Detalles

If you do not want your login to be persistent across Wikis running on the same server, and your installations all use the same database, you will need to modify the LocalSettings.php file

$wgCookiePath = "/directory";

Where directory is the directory for that MediaWiki installation relative to the DOCUMENT_ROOT.

This resolves issues where a user is occasionally prompted to log in when viewing a different installation, even though they logged in earlier and asked to have their password remembered.

$wgSessionName y $wgCookiePrefix proporcionan soluciones alternas.