Dear Brenton, James, et al., The problem what the (wrap-reload) function that I was using in my code, which isn't necessary anymore as ring, by default, includes the functionality now (I think???). http://mmcgrana.github.com/ring/middleware.reload-api.html
Brenton, I was wondering if there's an sandbar api page anywhere? I've looked, but couldn't find. Do let me know, eh.... Thanks, shree On Wednesday, May 11, 2011 10:34:45 PM UTC-4, Shree Mulay wrote: > > Thanks Brenton, > > I've gone through your example, and tried to replicate it at my > end(for my use cases) but was unable to. I demoed most of the examples > you've provided and they look GREAT! I hope that I'll be able to make > projects work (and look) like the examples you've shared with us one > day. > > The problem with: > > https://github.com/brentonashworth/sandbar/blob/master/src/examples/sessions/session_with_reload.clj > > > -and-<https://github.com/brentonashworth/sandbar/blob/master/src/examples/sessions/session_with_reload.clj-and-> > > https://gist.github.com/608048 > > is they deal with sessions on a single page that is reloaded, rather > than the session getting transfered from one page to another, via GET, > POST, PUT, ALL, etc, in defroutes. Um, moreso, using hiccup's > redirect, eh.... > > Any thoughts, would be appreciated! > > Thanks again, > > shree > > > On May 11, 9:48 pm, Brenton <bash...@gmail.com> wrote: > > Shree, > > > > I would suggest that you try to use only Ring first. Once you get how > > it works, take a look at Sandbar and see if that may work better for > > you in specific situations. > > > > The session code in Sandbar is stable. It will not change much in the > > next release. In fact it may become its own project by then. > > > > Here is one small application that shows how to use both styles in one > > app. I hope you find this helpful. > > > > http://github.com/brentonashworth/sandbar/blob/master/src/examples/se... > > > > > Brenton > > > > On May 9, 11:24 pm, Shree Mulay <shree...@gmail.com> wrote: > > > > > > > > > > > > > > > > > For the life of me, I can't get sessions to work, immaterial of which > > > tutorial I try and get going??? Is there any tutorial out there that > > > explicitly explains everything for a newb like me? After several > > > round, I did successfully get form params to work! YEAH! But now, I'd > > > like to create a login so that the user can login and have state - but > > > I can't get SESSIONS TO WORK??? > > > > > frustrated!, > > > > > shree -- 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