I have been using memcached as session.save\_handler for a while and everything is working 100% fine.

Then I try:

```
echo $mycache->get('memc.sess.key.o8el2bgk4k9s1mr723j1blrgs3');

```

to fetch one of the sessions and the output is very strange (a string with 108 characters):

```
MaiiA6iX7qlS0IZjTdr2I3w4axNTp7H2IYcH-SAficGw5ZKIcMQ0BE2kFnsm4xHMk3KAJo9kOwmRTSBOPdPAC-m5L9CkWnYPONqujt5m0c8.

```

What format is this string in? For your info, here's the memcached configuration in phpinfo():

* Directive Local Value Master Value
* memcached.compression\_factor 1.3 1.3
* memcached.compression\_threshold 2000 2000
* memcached.compression\_type fastlz fastlz
* memcached.serializer php php
* memcached.sess\_binary 0 0
* memcached.sess\_lock\_wait 150000 150000
* memcached.sess\_locking 1 1
* memcached.sess\_prefix memc.sess.key. memc.sess.key.

So it should have been in this format:

```
user_name|s:5:"guest";user_id|s:1:"3";user_level|s:2:"-1";

```

instead of the strange string.

Note: I am using memcached + php-memcached. Not memcache, and not php-memcache. Thanks.