On Feb 3, 8:44 pm, Vagif Verdi <vagif.ve...@gmail.com> wrote: > Invalidating sessions do not work. James replied that it would be hard > to fix with immutable > sessions:http://groups.google.com/group/compojure/browse_thread/thread/b27ab40...
Actually, I was completely wrong in that instance. I'm not sure what I was thinking, but it is perfectly possible to clear functional sessions. The problem is limited only to the Compojure session middleware, and is not indicative of an inherent flaw in the functional session design. > Another one is that (session-assoc) silently fails if you run it more > than > once:http://groups.google.com/group/compojure/browse_thread/thread/4b7c173... This again is something that's limited to Compojure, and not necessarily indicative of a problem with the functional approach. The session-assoc function is essentially a Ring handler function that modifies the request. Because each session-assoc is unconnected from the next, there isn't a way to chain their output. However, this doesn't mean that a more sophisticated approach isn't possible. - James -- 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