Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhe Wu committed Sep 20, 2012
1 parent d4aaad1 commit 9eb956f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ Usage
Want sessions to automatically expire?

# expire after 12 hours
(wrap-session your-app {:store (redis-store store {:expire-secs (* 3600 12)})})
(wrap-session your-app {:store (redis-store STORE {:expire-secs (* 3600 12)})})

You can also change the prefix (default to `session`) for the keys in
redis:

(wrap-session your-app {:store (redis-store store {:prefix "i-am-prefix"})})
(wrap-session your-app {:store (redis-store STORE {:prefix "i-am-prefix"})})

License
=======
Expand Down

0 comments on commit 9eb956f

Please sign in to comment.