note 108954 added to book.session
| From: | eric at vawks dot com | Date: | Thu, 07 Jun 2012 21:02:54 +0000 |
| Subject: | note 108954 added to book.session | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-188450@lists.php.net to get a copy of this message | ||
roberto,
I have used redis as a session cache backend and it works really well. Setting a TTL on the redis
keys obviates the need for a garbage collection function.
However, the redis docs specifically caution against using the KEYS command in production. http://redis.io/commands/keys
Cheers!
----
Server IP: 69.147.83.197
Probable Submitter: 24.60.1.165
----
Manual Page -- http://www.php.net/manual/en/book.session.php
Edit -- https://master.php.net/note/edit/108954
Del: integrated -- https://master.php.net/note/delete/108954/integrated
Del: useless -- https://master.php.net/note/delete/108954/useless
Del: bad code -- https://master.php.net/note/delete/108954/bad+code
Del: spam -- https://master.php.net/note/delete/108954/spam
Del: non-english -- https://master.php.net/note/delete/108954/non-english
Del: in docs -- https://master.php.net/note/delete/108954/in+docs
Del: other reasons-- https://master.php.net/note/delete/108954
Reject -- https://master.php.net/note/reject/108954
Search -- https://master.php.net/manage/user-notes.php