X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fbrisk.phh;h=8397e2c7924892fd7d2da766e00571f89eca62ac;hb=refs%2Fheads%2Favoid-domino;hp=631a26063a2ed856ee7f54b3ed0733ef7ac08976;hpb=e23c7d4c908bc208333f789fac2fc15fec820c68;p=brisk.git diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index 631a260..8397e2c 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -2786,10 +2786,9 @@ class Brisk do { if (!isset($cookie['sess']) - || (($user = $this->get_user($cookie['sess'], $idx)) == FALSE) - ) { - // || $user->page_id != $get['page_id']) { - + || (($user = $this->get_user($cookie['sess'], $idx)) == FALSE)) { + // || (($user = $this->get_user($cookie['sess'], $idx)) == FALSE) + // || $user->page_id != $get['page_id']) { $content = ""; // if ($user->page_id != $get['page_id']) { // $content .= "OLD_PAGE"; @@ -2802,9 +2801,8 @@ class Brisk return TRUE; break; - } - - $this->sess_cur_set($user->sess); + } + $this->sess_cur_set($user->sess); // close a previous opened index_read_ifra socket, if exists if (($prev = $user->rd_socket_get()) != NULL) { $s_a_p->socks_unset($user->rd_socket_get());