3 ms·
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 Gr
by arohner 17y ago
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/fa1184a6fbca2842/659619cf37af8e45?show_docid=659619cf37af8e45 http://groups.google.com/group/clojure/browse_thread/thread/...
The author mentions he uses the continuation monad.
- pmjordan 17y agoReally 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.