X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2FObj%2Fbrisk.phh;h=8397e2c7924892fd7d2da766e00571f89eca62ac;hb=refs%2Fheads%2Favoid-domino;hp=1f4364889e203e708fe21db5fc4f80cf119ca875;hpb=3049aef73538ea95e0b58625876c3dfe34970c26;p=brisk.git diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index 1f43648..8397e2c 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -2786,25 +2786,23 @@ 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"; // } printf("\ndiscarded here\n"); - printf("Is Cookie %s\n", (isset($cookie['sess'] ? TRUE : FALSE))); + printf("Is Cookie %s\n", (isset($cookie['sess']) ? TRUE : FALSE)); $content .= User::stream_fini($transp, $s_a_p->rndstr, TRUE); $s_a_p->pendpage_try_addflush($new_socket, 20, $enc, $header_out, $content); 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());