session

From Documentation
Revision as of 06:10, 15 July 2010 by Maya001122 (talk | contribs) (Created page with '{{ZKDevelopersGuidePageHeader}} [http://www.zkoss.org/javadoc/3.5.1/zk/org/zkoss/zk/ui/session.html <tt>org.zkoss.zk.ui.Session</tt>] :<tt>setAttribute</tt> : Sets the value of…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Stop.png This documentation is for an older version of ZK. For the latest one, please click here.


org.zkoss.zk.ui.Session

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.



Last Update : 2010/07/15

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