The session-cache-class Element"

From Documentation
m (Created page with '{{ZKConfigurationReferencePageHeader}} =Version History= {{LastUpdated}} {| border='1px' | width="100%" ! Version !! Date !! Content |- |   |   |   |} {{ZKConfig…')
 
m (correct highlight (via JWB))
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{ZKConfigurationReferencePageHeader}}
 
{{ZKConfigurationReferencePageHeader}}
 +
 +
'''Syntax:'''
 +
<session-cache-class>''a_class_name''</session-cache-class>
 +
 +
[Default: <javadoc>org.zkoss.zk.ui.http.SimpleSessionCache</javadoc>]
 +
 +
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., <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.