Skip to content

justinludwig/bs-flash

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
Basic Sessionless Flash Plugin
==============================

This grails plugin provides an implementation of grails' flash scope (`org.codehaus.groovy.grails.web.servlet.FlashScope`) that stores flash entries in a cookie, instead of the servlet session. It works with `String` values only.

To use, generate a random secret, and configure the plugin to use it via the `grails.plugin.basicSessionlessFlash.secret` config property. For example, run this in your shell:

    openssl rand -base64 30

And then use the output (for example, `abc123`) in your `grails-app/conf/Config.groovy` file:

    grails.plugin.basicSessionlessFlash.secret.base64 = 'abc123'

For other config settings, see `org.c02e.plugin.flash.BasicSessionlessFlashFilter`.

About

Grails plugin that stores flash scope in a cookie

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages