note 93488 added to function.memcache-delete
| From: | gentoo at gmx dot de | Date: | Sat, 12 Sep 2009 18:22:59 +0000 |
| Subject: | note 93488 added to function.memcache-delete | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-160490@lists.php.net to get a copy of this message | ||
@ Jocke Berg:
Alternatatively, you can use $memcache->set($key, $data, -1, (3600*24*30) + time()). It saves
from you calling the delete() method as memcache interprets the expiration time as a UNIX timestamp
(and not seconds!). See also http://code.google.com/p/memcached/wiki/FAQ
for more information regarding that topic.
----
Server IP: 212.124.37.9
Probable Submitter: 217.85.191.32
----
Manual Page -- http://www.php.net/manual/en/function.memcache-delete.php
Edit -- https://master.php.net/note/edit/93488
Del: integrated -- https://master.php.net/note/delete/93488/integrated
Del: useless -- https://master.php.net/note/delete/93488/useless
Del: bad code -- https://master.php.net/note/delete/93488/bad+code
Del: spam -- https://master.php.net/note/delete/93488/spam
Del: non-english -- https://master.php.net/note/delete/93488/non-english
Del: in docs -- https://master.php.net/note/delete/93488/in+docs
Del: other reasons-- https://master.php.net/note/delete/93488
Reject -- https://master.php.net/note/reject/93488
Search -- https://master.php.net/manage/user-notes.php