note 103020 deleted from book.session by peehaa
| From: | peehaa@php.net | Date: | Thu, 15 Jun 2017 13:40:31 +0000 |
| Subject: | note 103020 deleted from book.session by peehaa | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-209138@lists.php.net to get a copy of this message | ||
Note Submitter: roberto at spadim dot com dot br
----
instead of memcache, you should consider using redis
http://redis.io/commands
it have KEYS command (http://redis.io/commands/keys) that can return all keys (like
'ls'/'dir' at php sessions directory)
it allow replication too (cluster use)
i don't know if anyone wrote a version of phpsessions using redis yet, but since memcache
don't have KEYS command, it's hard to know if the users is connected (at app side) or what
sessions still active (not expired/not logged)