That will be set only for current user, but why don't you use $GLOBALS instead of $_SERVER?
$GLOBALS — References all variables available in global scope
This superglobal array would be more appropriate than $_SERVER for such a task. Mind, that $GLOBALS or $_SERVER don't save its data after request is finished. So if you want to keep some data from one request to another you should use $_SESSION.