dev check
[brisk.git] / web / Obj / brisk.phh
index 1f43648..b621da5 100644 (file)
@@ -2787,15 +2787,14 @@ class Brisk
           do {
               if (!isset($cookie['sess'])
                   || (($user = $this->get_user($cookie['sess'], $idx)) == FALSE)
-              ) {
-                  //  || $user->page_id != $get['page_id']) {
+                  || $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);