Skip to content

Commit b359eb5

Browse files
A few refinements
1 parent 73fb06e commit b359eb5

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

middleware/share_session_with_memcached.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ configure do
2121
end
2222
```
2323

24-
And that's all, from now on we'll be storing the users sessions in our local
25-
memcached server (`localhost:11211`) and the `rack:session` namespace. If you
26-
want to change these settings, use the middleware like this:
24+
`Dalli::Client` defaults the memcache server url to `localhost:11211`. If you
25+
need to use another server, you must configure it yourself.
26+
27+
See a full example configuring the memcache server and the session namespace:
2728

2829
```ruby
2930
configure do
@@ -34,4 +35,9 @@ configure do
3435
end
3536
```
3637

37-
If you need more info, refer to the [dalli gem documentation](https://github.com/mperham/dalli).
38+
## More Info
39+
40+
Refer to [Rack::Session](http://rack.rubyforge.org/doc/Rack/Session.html)
41+
documentation to know more about rack sessions.
42+
Refer to [Dalli](https://github.com/mperham/dalli) documentation to know more
43+
about Rack::Session::Dalli.

0 commit comments

Comments
 (0)