The timer-keep-alive Element"

From Documentation
Line 10: Line 10:
 
A session is considered as timeout (and then invalidated), if it doesn't receive any client request in the specified timeout interval (see the '''session-timeout''' element above).
 
A session is considered as timeout (and then invalidated), if it doesn't receive any client request in the specified timeout interval (see the '''session-timeout''' element above).
  
By setting this option to true, the <tt>onTimer</tt> event, just like any other events, will reset the session timeout counter (and then keep the session alive until timeout). Notice that, if this option is false and the timer is shorter than the session timeout, the session won't be expired.
+
By setting this option to true, the <tt>onTimer</tt> event, just like any other events, will reset the session timeout counter (and then keep the session alive until timeout). Notice that, if this option is true and the timer is shorter than the session timeout, the session won't be expired.
  
By default, this option is true. It means the <tt>onTimer</tt> event is ignored when handling the session timeout. In other words, the session will expire if no other event is received before timeout.
+
By default, this option is false. It means the <tt>onTimer</tt> event is ignored when handling the session timeout. In other words, the session will expire if no other event is received before timeout.
  
 
=Version History=
 
=Version History=

Revision as of 03:29, 11 March 2011


The timer-keep-alive Element


Syntax:

<timer-keep-alive>true|false</timer-keep-alive>
[Default: false]

It specifies whether to keep the session alive, when receiving the onTimer event.

A session is considered as timeout (and then invalidated), if it doesn't receive any client request in the specified timeout interval (see the session-timeout element above).

By setting this option to true, the onTimer event, just like any other events, will reset the session timeout counter (and then keep the session alive until timeout). Notice that, if this option is true and the timer is shorter than the session timeout, the session won't be expired.

By default, this option is false. It means the onTimer event is ignored when handling the session timeout. In other words, the session will expire if no other event is received before timeout.

Version History

Last Update : 2011/03/11


Version Date Content
     



Last Update : 2011/03/11

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.