Raynes / refheap

The Reference Heap. A Clojure pastebin powered by Compojure, MongoDB, and Pygments.
129 stars 30 forks source link

Staying logged in #51

Closed Raynes closed 12 years ago

Raynes commented 12 years ago

We're using a session to store logged in info, so it gets wiped when the browser is closed. Is this bad? Should we use a cookie that sticks around forever/a long time?

@amalloy What do you do in 4Clojure?

amalloy commented 12 years ago

We use session cookies too, but only because we don't know how to set permanent cookies.

Raynes commented 12 years ago

@amalloy I'll learn how and get back to you.

amcnamara commented 12 years ago

update?

Raynes commented 12 years ago

I forgot I was supposed to do something about this. Feel free to do it if you want. I'll get to it eventually if you don't.

amcnamara commented 12 years ago

remind me on saturday, I've got a few things I want to tackle this weekend and I'll add this to the list.

Raynes commented 12 years ago

@amcnamara Remind'd

Don't feel obligated to get it done if you're too busy though. Shit happens.

amcnamara commented 12 years ago

This won't get done for a while.

Raynes commented 12 years ago

Meh. #5 is a better solution to this problem. The only reason you'd want to be logged in would be to take ownership of a paste.