X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2FObj%2Fbrisk.phh;h=e41c2520a03c1deb01538846f0a415fdf888fc37;hb=710c1cef0849b8a881479c9e066fb74bd24781f8;hp=7460da5388ef365b45fa4c93d4c57e241b558aad;hpb=f8d98f354ae51f7223e08e8a3dfaa2b2b466c8dc;p=brisk.git diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index 7460da5..e41c252 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -895,7 +895,11 @@ class User { if ($shm = shm_attach($tok, $shm_sz)) { $user = @shm_get_var($shm, $tok); - log_only("bri == ".($user == FALSE ? "FALSE" : "TRUE")." bri === ".($user === FALSE ? "FALSE" : "TRUE")." bri isset ".(isset($user) ? "TRUE" : "FALSE")); + if ($sess != FALSE && $user->sess != $sess) { + $doexit = TRUE; + break; + } + log_only("user == ".($user == FALSE ? "FALSE" : "TRUE")." user === ".($user === FALSE ? "FALSE" : "TRUE")." user isset ".(isset($user) ? "TRUE" : "FALSE")); if (isset($user)) log_only("bri count ".count($user));