note 93488 deleted from function.memcache-delete by danbrown

From: Date: Sat, 12 Sep 2009 19:12:22 +0000
Subject: note 93488 deleted from function.memcache-delete by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-160491@lists.php.net to get a copy of this message
Note Submitter: gentoo at gmx dot de ---- @ 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.

« previous php.notes (#160491) next »