News for hackers. Stuff that matters.
Re:Sessions for Compojure by arohner on Wednesday November 25, 2009 @12:11PM (#961444)
Really interesting, but where / how is the user's session data stored? client side or server side?

A small amount of additional detail on the Clojure Google Group: http://groups.google.com/group/clojure/browse_thread/thread/...

The author mentions he uses the continuation monad.

Re:Sessions for Compojure by pmjordan on Wednesday November 25, 2009 @03:22PM (#961735)
Really interesting, but where / how is the user's session data stored? client side or server side?

From the article:

There are two ways to do this. Firstly, each time a web page is requested, embed the entire context of the session into it so that the context is returned whenever a request is generated from that page. Alternatively, the application server has to maintain a list of all the contexts of all active sessions and associate each context with a session identifier.

[...]

I chose to implement a web session library based on the second concept.

That would make it server side.

Re:Sessions for Compojure by jimduey on Monday November 30, 2009 @09:56PM (#969148)
I'm the author of that library and tutorial. The session state is definitely on the server side.

Jim Duey