Yes, I have the below set
$wgMainCacheType = CACHE_ACCEL;
$wgSessionCacheType = CACHE_DB;
$wgMemCachedServers = [];
and at the end of the LocalSettings.php file
$wgCookieSecure = false;
In the browser, in the Cookie request header I can find
my_wiki_test51a2e67c_session=i6c1i83p0usojiifinlsvenrgc8liq4p
Full value:
Cookie:
experimentation_subject_id=IjAyZGQ2NzllLTA2MDAtNDlkNS04MzRhLTA4NDZjZTdkNjJlYSI%3D--b5c89d226c39b439cbfa6e7dc145c14ae8a548a0; consent=1; RIDC=undefined; RIDFPF=undefined-undefined-undefined-undefined-undefined-undefined-undefined-undefined-undefined-undefined-undefined-undefined-undefined-undefined; RIDSCR=undefined; _ga=GA1.2.1907998560.1576060652; my_wiki_testUserName=Root; my_wiki_test51a2e67c_session=i6c1i83p0usojiifinlsvenrgc8liq4p; UseDC=master; UseCDNCache=false
While in the objectcache table I find the keyname column with value
my_wiki_test:MWSession:i6c1i83p0usojiifinlsvenrgc8liq4p
"my_wiki_test" is the DB name
Below is what I get in the log file for this session
[DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: connected to database 0 at 'localhost'.
[SQLBagOStuff] Connection 40421 will be used for SqlBagOStuff
[CryptRand] 0 bytes of randomness leftover in the buffer.
[session] SessionBackend "i6c1i83p0usojiifinlsvenrgc8liq4p" is unsaved, marking dirty in constructor
[session] SessionBackend "i6c1i83p0usojiifinlsvenrgc8liq4p" save: dataDirty=1 metaDirty=1 forcePersist=0
[cookie] setcookie: "my_wiki_test51a2e67c_session", "", "1544864578", "/", "", "", "1"
[cookie] already deleted setcookie: "my_wiki_test51a2e67cUserID", "", "1544864578", "/", "", "", "1"
[cookie] already deleted setcookie: "my_wiki_test51a2e67cToken", "", "1544864578", "/", "", "", "1"
[cookie] already deleted setcookie: "forceHTTPS", "", "1544864578", "/", "", "", "1"
Unstubbing $wgParser on call of $wgParser::setHook from wfFileList
Parser: using preprocessor: Preprocessor_DOM
[MessageCache] MessageCache::load: Loading en... local cache is empty, got from global cache
[DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: connected to database 0 at 'localhost'.
[session] SessionBackend "i6c1i83p0usojiifinlsvenrgc8liq4p" force-persist due to persist()
[session] SessionBackend "i6c1i83p0usojiifinlsvenrgc8liq4p" save: dataDirty=0 metaDirty=1 forcePersist=1
[cookie] setcookie: "my_wiki_test51a2e67c_session", "i6c1i83p0usojiifinlsvenrgc8liq4p", "0", "/", "", "", "1"
[cookie] already deleted setcookie: "my_wiki_test51a2e67cRemoteToken", "", "1578992578", "/", "", "", "1"
[cookie] already deleted setcookie: "my_wiki_test51a2e67cUserID", "", "1544864578", "/", "", "", "1"
[cookie] already deleted setcookie: "my_wiki_test51a2e67cToken", "", "1544864578", "/", "", "", "1"
[cookie] already deleted setcookie: "forceHTTPS", "", "1544864578", "/", "", "", "1"
[session] SessionBackend "i6c1i83p0usojiifinlsvenrgc8liq4p" Taking over PHP session
[session] SessionBackend "i6c1i83p0usojiifinlsvenrgc8liq4p" save: dataDirty=0 metaDirty=1 forcePersist=1
[cookie] already set setcookie: "my_wiki_test51a2e67c_session", "i6c1i83p0usojiifinlsvenrgc8liq4p", "0", "/", "", "", "1"
[cookie] already deleted setcookie: "my_wiki_test51a2e67cRemoteToken", "", "1578992578", "/", "", "", "1"
[cookie] already deleted setcookie: "my_wiki_test51a2e67cUserID", "", "1544864578", "/", "", "", "1"
[cookie] already deleted setcookie: "my_wiki_test51a2e67cToken", "", "1544864578", "/", "", "", "1"
[cookie] already deleted setcookie: "forceHTTPS", "", "1544864578", "/", "", "", "1"
Unstubbing $wgLang on call of $wgLang::_unstub from ParserOptions->__construct
QuickTemplate::__construct was called with no Config instance passed to it
[CryptRand] 0 bytes of randomness leftover in the buffer.
[CryptRand] 0 bytes of randomness leftover in the buffer.
[session] SessionBackend "i6c1i83p0usojiifinlsvenrgc8liq4p" data dirty due to dirty(): LoginSignupSpecialPage->getFakeTemplate/SpecialUserLogin->getToken/MediaWiki\Session\Session->getToken/MediaWiki\Session\Session->set/MediaWiki\Session\SessionBackend->dirty
[GlobalTitleFail] MessageCache::parse called by array_map/AuthManagerSpecialPage::{closure}/Message->parse/Message->toString/Message->parseText/MessageCache->parse with no title set.
[GlobalTitleFail] MessageCache::parse called by array_map/AuthManagerSpecialPage::{closure}/Message->parse/Message->toString/Message->parseText/MessageCache->parse with no title set.
[session] SessionBackend "i6c1i83p0usojiifinlsvenrgc8liq4p" save: dataDirty=1 metaDirty=0 forcePersist=0
User::getBlockedStatus: checking...
MediaWiki::preOutputCommit: primary transaction round committed
MediaWiki::preOutputCommit: pre-send deferred updates completed
[DBReplication] Wikimedia\Rdbms\ChronologyProtector::shutdownLB: DB 'localhost' touched
MediaWiki::preOutputCommit: LBFactory shutdown completed
[cookie] setcookie: "UseDC", "master", "1576400589", "/", "", "", "1"
[cookie] setcookie: "UseCDNCache", "false", "1576400589", "/", "", "", "1"
Parser: using preprocessor: Preprocessor_DOM
OutputPage::sendCacheControl: private caching; **
[runJobs] smw.propertyStatisticsRebuild SMW\SQLStore\Installer rootJobIsSelf=1 rootJobSignature=db42ba0748fde875c7dd60ebc4ffd96d265c3390 rootJobTimestamp=20191214200302 waitOnCommandLine=5 requestId=51e637999976d512e0f49bae (id=43,timestamp=20191214200701) STARTING
[runJobs] smw.propertyStatisticsRebuild SMW\SQLStore\Installer rootJobIsSelf=1 rootJobSignature=db42ba0748fde875c7dd60ebc4ffd96d265c3390 rootJobTimestamp=20191214200302 waitOnCommandLine=6 requestId=51e637999976d512e0f49bae (id=43,timestamp=20191214200701) t=9 good
Request ended normally
[session] Saving all sessions on shutdown
[DBConnection] Wikimedia\Rdbms\{closure}: closing connection to database 'localhost'.
[DBConnection] Wikimedia\Rdbms\{closure}: closing connection to database 'localhost'.
[caches] cluster: APCBagOStuff, WAN: mediawiki-main-default, stash: db-replicated, message: APCBagOStuff, session: SqlBagOStuff
[caches] LocalisationCache: using store LCStoreDB
[DBReplication] Wikimedia\Rdbms\LBFactory::getChronologyProtector: using request info {
"IPAddress": "10.166.11.1",
"UserAgent": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/79.0.3945.79 Safari\/537.36",
"ChronologyProtection": false,
"ChronologyPositionIndex": 0
}
[DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: calling initLB() before first connection.
[DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: connected to database 0 at 'localhost'.
[caches] cluster: APCBagOStuff, WAN: mediawiki-main-default, stash: db-replicated, message: APCBagOStuff, session: SqlBagOStuff
[caches] cluster: APCBagOStuff, WAN: mediawiki-main-default, stash: db-replicated, message: APCBagOStuff, session: SqlBagOStuff
[caches] LocalisationCache: using store LCStoreDB
[DBConnection] Wikimedia\Rdbms\{closure}: closing connection to database 'localhost'.
[caches] LocalisationCache: using store LCStoreDB
[DBReplication] Wikimedia\Rdbms\LBFactory::getChronologyProtector: using request info {
"IPAddress": "10.166.11.1",
"UserAgent": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/79.0.3945.79 Safari\/537.36",
"ChronologyProtection": false,
"ChronologyPositionIndex": 0
}
[DBReplication] Wikimedia\Rdbms\LBFactory::getChronologyProtector: using request info {
"IPAddress": "10.166.11.1",
"UserAgent": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/79.0.3945.79 Safari\/537.36",
"ChronologyProtection": false,
"ChronologyPositionIndex": 0
}
[DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: calling initLB() before first connection.
[DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: connected to database 0 at 'localhost'.
[DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: calling initLB() before first connection.
[DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: connected to database 0 at 'localhost'.
[MessageCache] MessageCache::load: Loading en... local cache is empty, got from global cache
[DBConnection] Wikimedia\Rdbms\{closure}: closing connection to database 'localhost'.
[DBConnection] Wikimedia\Rdbms\{closure}: closing connection to database 'localhost'.
[caches] cluster: APCBagOStuff, WAN: mediawiki-main-default, stash: db-replicated, message: APCBagOStuff, session: SqlBagOStuff
[caches] LocalisationCache: using store LCStoreDB
[DBReplication] Wikimedia\Rdbms\LBFactory::getChronologyProtector: using request info {
"IPAddress": "10.166.11.1",
"UserAgent": "Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/79.0.3945.79 Safari\/537.36",
"ChronologyProtection": false,
"ChronologyPositionIndex": 0
}
[DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: calling initLB() before first connection.
[DBConnection] Wikimedia\Rdbms\LoadBalancer::openConnection: connected to database 0 at 'localhost'.
[DBConnection] Wikimedia\Rdbms\{closure}: closing connection to database 'localhost'.