Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/Api/Memcache/MemcacheOptIn.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ class_alias($class, $alias);
define('MEMCACHE_HAVE_SESSION', 1); // See ext/session/MemcacheSessionHandler.
}

ini_set('session.save_path', 'Google\AppEngine\Api\Memcache\Memcache');
session_set_save_handler(new Google\AppEngine\Ext\Session\MemcacheSessionHandler(), true);

/**
* Adds a new item to the cache. Will fail if the key is already present in the
* cache.
Expand Down