session"
From Documentation
Maya001122 (talk | contribs) m |
Maya001122 (talk | contribs) m |
||
Line 1: | Line 1: | ||
{{ZKDevelopersGuidePageHeader}} | {{ZKDevelopersGuidePageHeader}} | ||
− | [http://www.zkoss.org/javadoc/3.5.1/zk/org/zkoss/zk/ui/session.html <javadoc>org.zkoss.zk.ui.Session</javadoc>] | + | [http://www.zkoss.org/javadoc/3.5.1/zk/org/zkoss/zk/ui/session.html <javadoc type="interface">org.zkoss.zk.ui.Session</javadoc>] |
:<tt>setAttribute</tt> : Sets the value of the specified custom attribute. | :<tt>setAttribute</tt> : Sets the value of the specified custom attribute. |
Revision as of 06:10, 15 July 2010
This documentation is for an older version of ZK. For the latest one, please click here.
- setAttribute : Sets the value of the specified custom attribute.
- getAttribute : Returns the value of the specified custom attribute
- getNativeSession : Returns the native session.
- getRemoteAddr : Returns the Internet Protocol (IP) address of the client or last proxy that sent the first request creating this session.
- getDeviceType : Returns the device type that this session belongs to.
In most cases, we use session to setAttribute and getAttribute.