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., < | + | 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
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 |
---|---|---|