<xp:div id="keepSessionAlive"></xp:div> <xp:scriptBlock id="scriptBlock1"> <xp:this.value> <![CDATA[ XSP.addOnLoad(function(){ setInterval(function(){ XSP.partialRefreshPost("#{id:keepSessionAlive}", {}); }, 3000000) })]]> </xp:this.value> </xp:scriptBlock>