News      Software      Tools      Forum      Downloads      Links      About  
Login

WS Memcached Session Handler for PHP

Normal PHP sessions that are valid across multiple servers, can usually be done by using a database. But utilizing MemCached you get a real speed boost!

Our MemCachedClient for PHP uses the same interface as the one linked at the official API page, our session handler is tested with that client too. But we thought that their client would be overkill for our purpose; therefore we created our own.

NOTE

If you're using this software, we would like to know! We're thinking of compiling a list of links to projects that use it - So if you would like to be listed, drop us a mail! A mail link is at the bottom!

Usage

View the example.php file for usage, it really is that simple...

Configuration

In the session handler (weirdsession.inc.php) in the top you can change the MemCached server ip and port and if you want to use zlib compression.

$__options = array(
'servers' => array(
'127.0.0.1:11211'
),
'debug' => false,
'compress' => false
);

For future release

  • MemCached client: dead server check support.
  • MemCached client: Batch key fetch (multiple in one query)

Downloads

Real world usage

Links to resources

Send us mail!



MySQL: 0.0000 s, 0 request(s), PHP: 0.0199 s, total: 0.0199 s, document retrieved from cache.
Get Firefox!