X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fcommons.js;h=99a2983fdc342941f9366287cffe998da4e40f1d;hb=b6f3d93f02fbf3adf376f9fbaad8cc739b8d3145;hp=f0ea078285bce1f6d60f5991739c395ee393173d;hpb=05e6e4e36e9c020028c0a026cb6649259720586c;p=brisk.git diff --git a/web/commons.js b/web/commons.js index f0ea078..99a2983 100644 --- a/web/commons.js +++ b/web/commons.js @@ -249,6 +249,7 @@ function send_mesg(mesg) // alert("xhr_wr: "+xhr_wr+" is_conn: "+is_conn); xhr_wr.open('GET', 'index_wr.php?'+(is_conn ? 'sess='+sess+'&' : '')+'mesg='+mesg, (is_conn ? true : false)); + xhr_wr.setRequestHeader("If-Modified-Since", new Date().toUTCString()); xhr_wr.onreadystatechange = function() { return; }; if (typeof(g_debug) == 'number' && g_debug > 0 && typeof(console) == 'object' && typeof(console.log) == 'function') {