Example how to get your current Jalo Session from the SessionService (Groovy script)

Example how to get your current Jalo Session from the SessionService (Groovy
script) :
1 def sessionService = spring.getBean("sessionService")
2 def jaloSession = sessionService.getCurrentSession().getJaloSession()
3 def sessionContext = jaloSession.getSessionContext()
4
5 println jaloSession.getHttpSessionId()
6 println sessionContext.getLanguage()
7 println sessionContext.getLocale()

Comments

Popular Posts