note 107004 added to memcached.callbacks.read-through

From: Date: Tue, 27 Dec 2011 21:27:34 +0000
Subject: note 107004 added to memcached.callbacks.read-through
Groups: php.notes 
Request: Send a blank email to php-notes+get-185257@lists.php.net to get a copy of this message
the expiration time set for you if you return true from the callback will be 0 (forever) - so if you want a different expiration time you can do the SET operation inside the callback with your custom expiration time. just make sure you return FALSE from the callback to prevent the client from automatically setting the value again. ---- Server IP: 69.147.83.197 Probable Submitter: 74.218.87.242 ---- Manual Page -- http://www.php.net/manual/en/memcached.callbacks.read-through.php Edit -- https://master.php.net/note/edit/107004 Del: integrated -- https://master.php.net/note/delete/107004/integrated Del: useless -- https://master.php.net/note/delete/107004/useless Del: bad code -- https://master.php.net/note/delete/107004/bad+code Del: spam -- https://master.php.net/note/delete/107004/spam Del: non-english -- https://master.php.net/note/delete/107004/non-english Del: in docs -- https://master.php.net/note/delete/107004/in+docs Del: other reasons-- https://master.php.net/note/delete/107004 Reject -- https://master.php.net/note/reject/107004 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#185257) next »