- log_rd2("UNREC_ERROR");
- return (sprintf('the_end=true; window.onbeforeunload = null; window.onunload = null; document.location.assign("../index.php");'));
+ log_rd2("BLOCKING_ERROR UNREC: ".($is_unrecoverable ? "TRUE" : "FALSE"));
+ return (sprintf(($is_unrecoverable ? 'the_end=true; ' : '').'window.onbeforeunload = null; window.onunload = null; document.location.assign("../index.php");'));
// Aggiorna l'expire time lato server
$S_load_stat['U_first_loop']++;
if (($user = Bin5_user::load_data($table_idx, $proxy_step['i'], $sess)) == FALSE) {
Bin5::unlock_data($sem);
ignore_user_abort(FALSE);
// Aggiorna l'expire time lato server
$S_load_stat['U_first_loop']++;
if (($user = Bin5_user::load_data($table_idx, $proxy_step['i'], $sess)) == FALSE) {
Bin5::unlock_data($sem);
ignore_user_abort(FALSE);
if (($bri = Bin5::load_data($table_idx, $table_token)) == FALSE) {
Bin5::unlock_data($sem);
ignore_user_abort(FALSE);
if (($bri = Bin5::load_data($table_idx, $table_token)) == FALSE) {
Bin5::unlock_data($sem);
ignore_user_abort(FALSE);
if (($bri = Bin5::load_data($table_idx, $table_token)) == FALSE) {
Bin5::unlock_data($sem);
ignore_user_abort(FALSE);
if (($bri = Bin5::load_data($table_idx, $table_token)) == FALSE) {
Bin5::unlock_data($sem);
ignore_user_abort(FALSE);
if (($user = $bri->get_user($sess, $idx)) == FALSE) {
Bin5::unlock_data($sem);
ignore_user_abort(FALSE);
if (($user = $bri->get_user($sess, $idx)) == FALSE) {
Bin5::unlock_data($sem);
ignore_user_abort(FALSE);
// if (($user = &$bri->get_user($sess, $idx)) == FALSE) {
if (($user = Bin5_user::load_data($table_idx, $proxy_step['i'], $sess)) == FALSE) {
Bin5::unlock_data($sem);
ignore_user_abort(FALSE);
// if (($user = &$bri->get_user($sess, $idx)) == FALSE) {
if (($user = Bin5_user::load_data($table_idx, $proxy_step['i'], $sess)) == FALSE) {
Bin5::unlock_data($sem);
ignore_user_abort(FALSE);
if ($user->the_end == TRUE) {
log_rd2("LOGOUT BYE BYE!!");
log_auth($user->sess, "Explicit logout.");
if ($user->the_end == TRUE) {
log_rd2("LOGOUT BYE BYE!!");
log_auth($user->sess, "Explicit logout.");
$S_load_stat['R_the_end']++;
if (($bri = Bin5::load_data($table_idx, $table_token)) == FALSE) {
Bin5::unlock_data($sem);
ignore_user_abort(FALSE);
$S_load_stat['R_the_end']++;
if (($bri = Bin5::load_data($table_idx, $table_token)) == FALSE) {
Bin5::unlock_data($sem);
ignore_user_abort(FALSE);
if (($user = $bri->get_user($sess, $idx)) == FALSE) {
Bin5::unlock_data($sem);
ignore_user_abort(FALSE);
if (($user = $bri->get_user($sess, $idx)) == FALSE) {
Bin5::unlock_data($sem);
ignore_user_abort(FALSE);
if ($user->subst == 'sitdown')
$bri->room_wakeup($user);
else if ($user->subst == 'standup')
$bri->room_outstandup($user);
else
log_rd2("LOGOUT FROM WHAT ???");
if ($user->subst == 'sitdown')
$bri->room_wakeup($user);
else if ($user->subst == 'standup')
$bri->room_outstandup($user);
else
log_rd2("LOGOUT FROM WHAT ???");
-$is_page_streaming = (stristr($HTTP_USER_AGENT, "MSIE") || stristr($HTTP_USER_AGENT, "CHROME") ? TRUE : FALSE);
+$is_page_streaming = (webservers_exceeded() || stristr($HTTP_USER_AGENT, "MSIE") || stristr($HTTP_USER_AGENT, "CHROME") ? TRUE : FALSE);
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past