use of org.webpieces.ctx.api.Session in project webpieces by deanhiller.
the class ScopesController method receiveLongSession.
public Action receiveLongSession() {
Session session = Current.session();
for (int i = 0; i < 100; i++) {
String someValue = session.get("someKey" + i);
System.out.println(someValue);
}
return Actions.renderThis();
}
Aggregations