The session-cache-class Element"

From Documentation
m (correct highlight (via JWB))
 
Line 8: Line 8:
 
It specifies the session cache used to store ZK sessions. It must implement the <javadoc type="interface">org.zkoss.zk.ui.sys.SessionCache</javadoc> interface.
 
It specifies the session cache used to store ZK sessions. It must implement the <javadoc type="interface">org.zkoss.zk.ui.sys.SessionCache</javadoc> interface.
  
By default, <javadoc>org.zkoss.zk.ui.http.SimpleSessionCache</javadoc> is used and it stores the ZK session in an attribute of the native session (i.e., <tt>HttpSession</tt> or <tt>PortletSession</tt>).
+
By default, <javadoc>org.zkoss.zk.ui.http.SimpleSessionCache</javadoc> is used and it stores the ZK session in an attribute of the native session (i.e., <code>HttpSession</code> or <code>PortletSession</code>).
  
 
=Version History=
 
=Version History=

Latest revision as of 10:34, 19 January 2022


The session-cache-class Element


Syntax:

<session-cache-class>a_class_name</session-cache-class>
[Default: SimpleSessionCache]

It specifies the session cache used to store ZK sessions. It must implement the SessionCache interface.

By default, SimpleSessionCache is used and it stores the ZK session in an attribute of the native session (i.e., HttpSession or PortletSession).

Version History

Last Update : 2022/01/19


Version Date Content
     



Last Update : 2022/01/19

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