-
FEATURED COMPONENTS
First time here? Check out the FAQ!
How to set session and maintain in througout the application
Session is maintained by your container. You can access it by
Executions.getCurrent().getSession()
to get ZK Session (which is a wrapper of the native session).
Or use
Executions.getCurrent().getSession().getNativeSession()
to get the native session. (Note that you need to cast it HttpSession or PortletSession by yourself.)
Simon
Asked: 2011-02-14 00:29:55 +0800
Seen: 461 times
Last updated: Feb 14 '11