Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

PHP apc session

$
0
0
i would like to know if apc is unique to every user. For example:
<?php

echo 'start <br />';

$test = 'test';

if(apc_exists($test))
{
    echo "$test =>".apc_fetch($test);
} else {
    apc_store($test, 'hello world');
}

?>



if user a1 request page for the first time $test will be stored.
if a1 request it again test => hello world will be displayed

if user a2 request page after user a1, will a2 have the variable $test stored already or is it unique (like $_SESSION[]) per user?

Viewing all articles
Browse latest Browse all 51036


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>