note 67177 added to function.memcache-set
| From: | (Jorge@asktaco.com) | Date: | Sun, 04 Jun 2006 23:25:46 +0000 |
| Subject: | note 67177 added to function.memcache-set | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-113220@lists.php.net to get a copy of this message | ||
The expire seems to work differently than I expected. For example, if set to expire in 30 seconds,
it will only expire if the key is NOT requested for 30 seconds. Meaning if you call it repeatedly,
it will "never" expire.
Setting the expire to something like (time() + 30) works the exact same way.
----
Server IP: 216.194.113.175
Probable Submitter: 69.141.73.20
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.memcache-set.php
Edit -- http://master.php.net/note/edit/67177
Del: integrated -- http://master.php.net/note/delete/67177/integrated
Del: useless -- http://master.php.net/note/delete/67177/useless
Del: bad code -- http://master.php.net/note/delete/67177/bad+code
Del: spam -- http://master.php.net/note/delete/67177/spam
Del: non-english -- http://master.php.net/note/delete/67177/non-english
Del: in docs -- http://master.php.net/note/delete/67177/in+docs
Del: other reasons-- http://master.php.net/note/delete/67177
Reject -- http://master.php.net/note/reject/67177
Search -- http://master.php.net/manage/user-notes.php