James, et al., WHOA! I got it to work!
After I commented out ;(wrap-reload '(SocialNetworkCore.core)) ;;remove wrap-reload it started behaving. Is the "wrap-reload" functionality not compatible with Ring Sessions??? Have I implemented it the wrong way? Only thing is, when I goto http://127.0.0.1:3000/set I still get: You set x = Though at: http://127.0.0.1:3000/get I get: x = Shree All thoughts are appreciated. Thanks! Y'all's help has been wonderful! :) shree On May 12, 2:57 pm, Shree Mulay <shreemu...@gmail.com> wrote: > @ James, yes. > > (def app > (-> #'main-routes > (wrap-reload '(SocialNetworkCore.core)) ;;remove wrap-reload > from production code > (wrap-params) ;; wraps params (inputs from > forms) - makes 'em available > ;(wrap-flash) ;; > (wrap-session) ;; wraps session > (wrap-request-logging) ;; gives me request logging > (wrap-bounce-favicon) ;; skirts favicon request logging > (wrap-exception-logging) ;; logs exceptions > (wrap-stacktrace))) ;; detailed stacktrace of errors > > Anything look wrong there??? > > On May 12, 7:02 am, James Reeves <jree...@weavejester.com> wrote: > > > > > > > > > On 12 May 2011 04:49, Shree Mulay <shreemu...@gmail.com> wrote: > > > > But for WHATEVER reason, the sessions are NOT getting stored? > > > Have you added the session middleware? e.g. > > > (def app > > (-> main-routes > > wrap-params > > wrap-session)) > > > Or more succinctly: > > > (def app > > (handler/site main-routes)) > > > - 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