In our application we have used flash object to transport data from one controller to another by grails redirect(). Does it pose any loss of data/threat since our application is using load balancing and non-sticky sessions (we are using memcached for our own session management mechanism) ? I read the grails doc says it "stores objects within the session for the next request and the next request only" ? Does it mean flash is actually using session in the background ?
Yep, you're absolutely right. Flash uses the http session to store stuff so if you're using a load balancer without sticky sessions you shouldn't use flash scope.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With