Managed to solve my own problem. For anyone with the same problem in
the future, here is the corrected code:

(defservice (-> my-routes wrap-stateful-session))

and remove the (def app) line.

P.

On Oct 4, 10:27 am, Paul <paul_bow...@yahoo.com> wrote:
> Hi,
>
> I've added sandbar session mgmt to my  google app engine + compojure
> application, wrapping a stateful session around my routes
> configuration with:
>
> (def app (-> my-routes wrap-stateful-session))
> (defservice my-routes)
>
> The application compiles but I get the following error when I perform
> session-get or session-pu!:
>
> java.lang.IllegalStateException: Var sandbar.stateful-session/sandbar-
> session is unbound.
>
> Can anyone help?
>
> Thanks,
>
> Paul.

-- 
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

Reply via email to