Hello,

Normally I use this config and it's work fine:
$conf = array(
'cache_inc' => './sites/all/modules/authcache/authcache.inc',
'memcache_servers' => array('127.0.0.1:11211' => 'default'),
'memcache_key_prefix' => 'madf_',
);

But when I add a session support: 'session_inc' => './sites/all/modules/memcache/memcache-session.inc',

The page doesn't loading at all in Firefox and Chrome:
This problem can sometimes be caused by disabling or refusing to accept cookies.

In IE it's loading, but users cannot login.
I added thos 2 lines to the config but without results:
'localhost:11211' => 'session',
'localhost:11211' => 'users',

$conf = array(
'cache_inc' => './sites/all/modules/authcache/authcache.inc',
'session_inc' => './sites/all/modules/memcache/memcache-session.inc',
'memcache_key_prefix' => 'madf_',
'memcache_servers' => array('127.0.0.1:11211' => 'default',
'localhost:11211' => 'session',
'localhost:11211' => 'users',
),
);

Any idea how I can fix this issue?

Thanks!

Comments

superfedya’s picture

My config:
extension=memcache.so
PORT="11211"
USER="nobody"
MAXCONN="1024"
CACHESIZE="512"
memcache.hash_strategy="consistent"
memcache.chunk_size="32768"

In watchdog I see dozens lines "session for mynickname is open".

My ideas?

Thanks

japerry’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.