> There's an example of Ring sessions linked from the Ring wiki:
>
> https://gist.github.com/608048
>
> Does that help?
>
> - James


On May 10, 6:19 am, James Reeves <jree...@weavejester.com> wrote:
> On 10 May 2011 07:24, Shree Mulay <shreemu...@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???
>
> There's an example of Ring sessions linked from the Ring wiki:
>
> https://gist.github.com/608048
>
> Does that help?
>
> - James

@James, the problem with the example you've linked to, is it doesn't
help me figure out how to link, for example, a userid picked up from a
form into a session. Or how to set a session value to true/false,
etc.

I would appreciate a more comprehensive example, perhaps - a few more
& simpler examples, etc. It's like compound example built into a
single function. Also, would be nice to see session information passed
around from one page to another (ie., routes???)... [is this even
possible?]

I don't want to use sandbar, either. Well, I couldn't figure out how
to get its "wrap-stateful-session" to work properly.

I'm trying to accomplish setting up a login form.

At least I got rings params to work; I'd like to now have some of the
information from submitted forms to get stored into session variables,
eh...

THANKS IN ADVANCE,

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

Reply via email to