memcached for PHP sessions tutorial

Sessions are a simple mechanism for web technologies like PHP to create a unique ID for each visitor which can then be used to persist data between page requests. Upon their first visit, a cookie is dropped in the user’s browser with the generated ID which the server then uses to store data about this session until the cookie expires or is deleted.

This post explorer the use of memcached as the PHP session handler, and explains the pro’s and con’s of its use compared to the default.

Continue reading “memcached for PHP sessions tutorial”