X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Findex.php;h=9e3efe59447bfec47eeca3daf0f2cc31e0a474c1;hb=adca8c40390c5086ec21b01e5e9d191503b6cf40;hp=469a568191857aed4c7795f70a70d529e31e801e;hpb=4e432ba515042d4bd5868a72e9a777e613311c8c;p=brisk.git diff --git a/web/index.php b/web/index.php index 469a568..9e3efe5 100644 --- a/web/index.php +++ b/web/index.php @@ -1254,7 +1254,15 @@ cookie_law(null); // var nonunload = false; var spo_slide, sup_slide; + var prevent_reuse = ""; window.onload = function() { + + if (prevent_reuse == "") { + prevent_reuse = "first load"; + } + else { + location.reload(); + } g_brow = get_browser_agent(); g_prefs = new client_prefs(null); @@ -1279,7 +1287,8 @@ cookie_law(null); sidebanners_init($G_sidebanner_idx); ?> sess = ""; - xstm = new xynt_streaming(window, , 2, null /* console */, gst, 'index_php', 'sess', sess, $('sandbox'), 'index_rd.php', function(com){eval(com);}); + xstm = new xynt_streaming(window, , 2, null /* console */, gst, + 'index_php', 'sess', sess, $('sandbox'), 'index_rd.php', page_id, function(com){eval(com);}); xstm.hbit_set(heartbit); tra = new train($('room_tit')); window.onunload = onunload_cb;