documentation:2.1:memcachedsessionbackend

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

documentation:2.1:memcachedsessionbackend [2019/01/15 15:55] (current)
Line 1: Line 1:
 +====== Memcached session backend ======
 +
 +<note important>[[http://memcached.org/|Memcached]] can be used with LL::NG, but some features will not work since Memcached doesn't provide any parsing system:
 +  * Session expiration: sessions will never expire (server side)
 +  * [[:documentation:features#session_explorer|Session explorer]] will not work
 +  * [[:documentation:features#session_restrictions|Session restrictions]] will not work
 +
 +To keep Memcached performance level and LL::NG features, you can replace [[http://memcached.org/|Memcached]] by [[http://code.google.com/p/redis/|Redis]] using [[nosqlsessionbackend|NoSQL session backend]].
 +</note>
 +
 +===== Setup =====
 +
 +Install and launch a [[http://memcached.org/|Memcached server]].
 +
 +In the manager: set [[https://metacpan.org/pod/Apache::Session::Memcached|Apache::Session::Memcached]] in ''General parameters'' » ''Sessions'' » ''Session storage'' » ''Apache::Session module'' and add the following parameters (case sensitive):
 +
 +^  Required parameters  ^^^
 +^  Name  ^  Comment  ^  Example  ^
 +|  **Servers**  | Memcached servers | 10.0.0.1:20000 10.0.0.2:20000 |
 +
 +See [[https://metacpan.org/pod/Apache::Session::Memcached|Apache::Session::Memcached]] for optional parameters.