app level keepalive (new ping message) added
[brisk.git] / web / Obj / user.phh
index e94b4aa..b13f56e 100644 (file)
@@ -941,6 +941,15 @@ push(null);
 // -->
 </script>", $this->rd_scristp++));
     
+}
+
+function stream_ping()
+{
+    return (sprintf("<script id='hs%d' type='text/javascript'><!--
+push(\"act_ping();\");
+// -->
+</script>", $this->rd_scristp++));
+    
 }
 
     static function base_get()