Thanks Sean. that makes sense.   I didnt want that map to be stored as one
cookie because it could potentially be big... (there is a 4kb limit per
cookie right?) . I will dig into it and check. If that works for me, then
all i need is compojure, ring and the awesome ring-defaults middleware.  No
need for a monolithic framework.

On Mon, May 4, 2015 at 8:49 PM, Sean Corfield <s...@corfield.org> wrote:

> Not sure what you mean by "one flash value" — I’d expect you to have a map
> of "flash" scope data and that’s the way my FW/1 behaves: you assoc values
> into the "flash scope" and they’re restored on the next request.
>
> On May 4, 2015, at 8:39 AM, Josh Kamau <joshnet2...@gmail.com> wrote:
> > I am currently trying to  "redirect-after-post" with validation errors.
> I have already cooked up my way of validating maps.  However, i cant find a
> straight forward way for pushing the errors in a 'flash' and then read them
> in my template (am currently using freemarker.). I have seen the flash
> middleware but it seems to set one flash value.  My solution so far has
> been to set cookies and expire them when i read.    A framework would
> handle this common cases very easily.... Or am i missing something?
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to