Manual:$wgSessionHandler

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎polski • ‎日本語
Cookies: $wgSessionHandler
Used to set PHP's session.save_handler.
Introduced in version:1.16.0 (r49370)
Deprecated in version:1.27.0
Removed in version:still in use
Allowed values:(string) or null
Default value:null (1.18-)
'files' (1.16-1.17)
Other settings: Alphabetical | By function

Details[edit]

This is used for setting PHP's session.save_handler. In practice, you will almost never need to change this ever. Other options might be 'user' or 'session_mysql'.

Setting to null skips setting this entirely (which might be useful if you're doing cross-application sessions, see bug 11381).