File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,10 @@ configure do
21
21
end
22
22
```
23
23
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:
27
28
28
29
``` ruby
29
30
configure do
@@ -34,4 +35,9 @@ configure do
34
35
end
35
36
```
36
37
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.
You can’t perform that action at this time.
0 commit comments