note 76772 added to ref.apc
| From: | zytzagoo at NOSPAMPLEASEgmail dot com | Date: | Mon, 30 Jul 2007 13:21:49 +0000 |
| Subject: | note 76772 added to ref.apc | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-129041@lists.php.net to get a copy of this message | ||
Keep in mind to always prefix or suffix your cache key names with something specific to your
site/app/setup, to avoid the risk of your apc cache entries being overwritten/deleted/modified by
someone else on the same server.
Assume we have some code like this:
apc_store('config', $cfg);
Now assume someone else on the same server is also using 'config' as the key passed to an
apc_store(), apc_delete() (etc.) call in some other piece of code on the whole server.
Since you're both working on the exact same cache entry, all sorts of wierd things can happen,
but the problem is not in your code at all.
----
Server IP: 69.147.83.197
Probable Submitter: 78.0.136.99
----
Manual Page -- http://www.php.net/manual/en/ref.apc.php
Edit -- https://master.php.net/note/edit/76772
Del: integrated -- https://master.php.net/note/delete/76772/integrated
Del: useless -- https://master.php.net/note/delete/76772/useless
Del: bad code -- https://master.php.net/note/delete/76772/bad+code
Del: spam -- https://master.php.net/note/delete/76772/spam
Del: non-english -- https://master.php.net/note/delete/76772/non-english
Del: in docs -- https://master.php.net/note/delete/76772/in+docs
Del: other reasons-- https://master.php.net/note/delete/76772
Reject -- https://master.php.net/note/reject/76772
Search -- https://master.php.net/manage/user-notes.php