The session-cache-class Element"
From Documentation
m (Created page with '{{ZKConfigurationReferencePageHeader}} =Version History= {{LastUpdated}} {| border='1px' | width="100%" ! Version !! Date !! Content |- | | | |} {{ZKConfig…') |
|||
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., <tt>HttpSession</tt> or <tt>PortletSession</tt>). | ||
=Version History= | =Version History= |
Revision as of 15:31, 4 December 2010
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
Version | Date | Content |
---|---|---|