I'd like to list all current sessions in an Admin Controller in grails. What's the easiest way to get a reference to e.g. a Collection of sessions from the controller?
相关问题
- Data loss during sending via $_SESSION from one sc
- Grails External Configuration. Can't access to
- Chrome not keeping my _SESSION vars when coming fr
- Using a session with php and Java
- grails unit test + Thread
相关文章
- 关于Asp.net Mvc Core重写Initialize方法的问题
- Page指令 的EnableSessionState="ReadOnly",怎么在web.confi
- Spring: controller inheritance using @Controller a
- How exactly do Firebase Analytics handle session d
- Symfony2: check whether session exists or not
- Disable action method from being called from the a
- When is destructor called in a WCF service
- Grails: How to make everything I create Upper Case
This is a feature (disabled by default but easily enabled by setting
grails.plugins.appinfo.useContextListener = true
in Config.groovy) of the App-Info plugin: http://grails.org/plugin/app-infothere is a "groovy" way to do this without a SessionListener, there are events generated that closures can be assigned to. You can capture successful sessions, in a map/list, and remove sessions from after logout or
Registering Callback Closures