Home Grails 2.3.6 Flash & Session with Hazelcast
Reply: 0

Grails 2.3.6 Flash & Session with Hazelcast

sullivan Published in 2017-03-20 09:02:20Z

I'm using Grails 2.3.6 with non-sticky and integrated Hazelcast within my Grails App. This works perfect across two servers:

def get() {
    render session.blah

def set() {
    session.blah = params.id
    render session.blah

def delete() {
    session.blah = null

But when it comes to

def setFlashMessage() {
    flash.success = message(code: "msg.successfullySaved")
    redirect(action: "show", params: [lang: params.lang])

def show() { }    

flash.success stays empty.

Do I have to adjust anything in order to make flash part of the session?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.317144 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO