note 109296 added to memcache.delete

From: Date: Tue, 03 Jul 2012 19:26:36 +0000
Subject: note 109296 added to memcache.delete
Groups: php.notes 
Request: Send a blank email to php-notes+get-189020@lists.php.net to get a copy of this message
I could not get the delete to work properly, so I ended up trying the 'set' method and setting the timeout value to -1. <?php $memcache->set('index', 'deleted', 0, -1); ?> It solved my problem with the delete method. (using memcached 1.4.5 and pecl-memcache 3.0.6) ---- Server IP: 69.147.83.197 Probable Submitter: 64.191.49.8 ---- Manual Page -- http://www.php.net/manual/en/memcache.delete.php Edit -- https://master.php.net/note/edit/109296 Del: integrated -- https://master.php.net/note/delete/109296/integrated Del: useless -- https://master.php.net/note/delete/109296/useless Del: bad code -- https://master.php.net/note/delete/109296/bad+code Del: spam -- https://master.php.net/note/delete/109296/spam Del: non-english -- https://master.php.net/note/delete/109296/non-english Del: in docs -- https://master.php.net/note/delete/109296/in+docs Del: other reasons-- https://master.php.net/note/delete/109296 Reject -- https://master.php.net/note/reject/109296 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#189020) next »